?
What will be the output of the following Python code?
What will be the output of the following Python code?
i=0
def change(i):
i=i+1
return i
change(1)
print(i)
i=0
def change(i):
i=i+1
return i
change(1)
print(i)
Join the Discussion
Login to post a comment or share your explanation.
Login