circuitpython/tests/basics/assign1.py

11 lines
88 B
Python

# test assignments
a = 1
print(a)
a = b = 2
print(a, b)
a = b = c = 3
print(a, b, c)