a = 0
def new():
for line in range(2):
print(a)
a += 1
new()
a = 0
def new():
global a
for line in range(2):
print(a)
a +=1
new()
0
1
a = 0
def new(a):
for line in range(2):
print(a)
a +=1
new(a)
0
1