9 lines
96 B
Python
9 lines
96 B
Python
|
x = 10
|
||
|
|
||
|
def foo():
|
||
|
print(x)
|
||
|
|
||
|
foo() # 10
|
||
|
print(x) # 10
|
||
|
|