R
Q. What will the following code output?
Code:
def f():
global x
x = 10
f()
print(x)
global x
x = 10
f()
print(x)
- Correct Answer - Option(C)
- Views: 14
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.