1. What is the output of the below program?
x = 50
 def func():
     global x
     print('x is', x)
     x = 2
     print('Changed global x to', x)
 func()
 print('Value of x is', x)

Next Page »