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/pa3-tests/core/nested2.py

15 lines
246 B

g: int = 1
def foo(x: int) -> int:
y: int = 2
def bar() -> int:
z: int = 3
def baz() -> int:
return qux(y)
return baz()
def qux(p: int) -> int:
return p
return bar()
print(foo(g))