Files
ChocoPy/pa1-tests/core/def_func_nested.py
T
2021-03-12 09:39:57 -05:00

11 lines
147 B
Python

def foo(x:int) -> bool:
a:int = 0
b:int = 1
def bar(y: int) -> int:
a:int = 2
return y
return bar(x) > a
foo(1)