4 programs in Python representing 4 logic gates:
- Accept two input to create one output.
- Use the if statement to perform the Boolean logic.
- Only accept numeric input.
- If a number is greater than 0 treat it as a 1.
- Specify in your output and in the beginning of the code (through print statements) which gate the code represents.