RosettaCodeData/Task/Logical-operations/Python/logical-operations.py
2019-09-12 10:33:56 -07:00

4 lines
104 B
Python

def logic(a, b):
print('a and b:', a and b)
print('a or b:', a or b)
print('not a:', not a)