11 lines
99 B
Python
11 lines
99 B
Python
#Global test
|
|
x = 0
|
|
print(x)
|
|
|
|
def myfunc():
|
|
global x
|
|
x = 1
|
|
print(x)
|
|
|
|
myfunc()
|