Như Quỳnh Lan
New member
What will be the output of the following Python code?
A. 2
B. 1
C. 0
D. Error
Code:
x=1
def cg():
global x
x=x+1
cg()
x
B. 1
C. 0
D. Error
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
x=1
def cg():
global x
x=x+1
cg()
x