下列语句的执行结果是: number = 10 def myPrint(): print(number) myPrint()
A. 10
B. 1
C. 0
D. 报错
下列语句的执行结果是: number = 10 def myPrint(): number = 1 print(number) myPrint()
A. 10
B. 1
C. 0
D. 报错
下列语句的执行结果是: number = 10 def myPrint(): global number number = 1 print(number) myPrint()
A. 10
B. 1
C. 0
D. 报错
下列语句的执行结果是: number = 10 def myPrint(): global number number = 1 myPrint() print(number)
A. 10
B. 1
C. 0
D. 报错