?
What will be the output of the following Python code?
What will be the output of the following Python code?
x=100
def f1():
global x
x=90
def f2():
global x
x=80
print(x)
x=100
def f1():
global x
x=90
def f2():
global x
x=80
print(x)
Join the Discussion
Login to post a comment or share your explanation.
Login