以下代码将显示什么? x = 3 def f1(): global x x = x + 2 print(x) f1() print(x)
A.
3 5
B.
5 3
C.
程序存在运行时错误,因为未定义x。
D.
3 3
E.
5 5
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】At a instant, the magnitudes of velocities of points【图片】and【图片】in a plane figure are【图片】and【图片】, respectively, and【图片】.Which drawings are impossible for the velocity directions?A. B. C. D.