Examveda

What will be the output of the following Python code?
i=0
def change(i):
   i=i+1
   return i
change(1)
print(i)

A. 1

B. Nothing is displayed

C. 0

D. An exception is thrown

Answer: Option C


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python