micropython/tests/basics/compare-multi.py

5 lines
72 B
Python

print(1 < 2 < 3)
print(1 < 2 < 3 < 4)
print(1 > 2 < 3)
print(1 < 2 > 3)