11 lines
142 B
Python
11 lines
142 B
Python
def bar():
|
|
print('Global bar')
|
|
|
|
def foo():
|
|
bar() #error
|
|
def bar():
|
|
print('Nested bar')
|
|
bar()
|
|
|
|
foo()
|