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