Examveda
Examveda

What will be the output of the following Python code?
x=100
def f1():
    global x
    x=90
def f2():
    global x
    x=80
print(x)

A. 100

B. 90

C. 80

D. Error

Answer: Option A


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python