?
Read the following Python code carefully and point out the global variables?
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+z
Join the Discussion
Login to post a comment or share your explanation.
Login