Read the following Python code carefully and point out the global variables?
y, z = 1, 2
def f():
global x
x = y+z
y, z = 1, 2
def f():
global x
x = y+zA. x
B. y and z
C. x, y and z
D. Neither x, nor y, nor z
Answer: Option C

Join The Discussion