micropython/tests/basics/assign1.py

12 wiersze
89 B
Python

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