micropython/tests/basics/int2.py

8 wiersze
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)