You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ChocoPy/pa2-tests/core/decl_global_forward.py

10 lines
85 B

def set_x() -> int:
global x
x = 1
return x
x:int = 0
set_x()
print(x)