• 2022-06-15 问题

    下列语句的执行结果是: number = 10 def myPrint(): global number number = 1 myPrint() print(number) 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: 报错

  • 2022-06-15 问题

    下列语句的执行结果是: 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 print(number) myPrint() A: 10 B: 1 C: 0 D: 报错

  • 1