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/pa1-tests/core/def_func_global.py

8 lines
73 B

z:int = 0
def foo(x:int) -> bool:
global z
return x > z
foo(1)