@mtf/

Logical expressions

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
A = 1
B = 2
C = 0

print (A and B and not C)

print (A and B or not C)

# print (A and B not C)  # SyntaxError: invalid syntax