micropython/tests/basics/int2.py

8 lines
120 B
Python

# test basic int operations
# test conversion of bool on RHS of binary op
a = False
print(1 + a)
a = True
print(1 + a)