mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
13 lines
121 B
Python
13 lines
121 B
Python
x = 0
|
|
for i in [1, 2, 3, 4]:
|
|
x += 1
|
|
|
|
assert x == 4
|
|
|
|
for i in [1, 2, 3]:
|
|
x = i + 5
|
|
else:
|
|
x = 3
|
|
|
|
assert x == 3
|