Report Bug
Qus :

What will be the output?

x = 10
def fun():
    global x
    x = 20
fun()
print(x)

Qus

इसका परिणाम क्या होगा?

x = 10
def fun():
    global x
    x = 20
fun()
print(x)


A. 10
B. 20
C. Error
D. None


Solution
B. 20






Report Bug