?
What will be the output of the following Python code?
What will be the output of the following Python code?
def f1():
global x
x+=1
print(x)
x=12
print("x")
def f1():
global x
x+=1
print(x)
x=12
print("x")
Join the Discussion
Login to post a comment or share your explanation.
Login