#Y2022013. PY2022一级判断题

PY2022一级判断题

题目描述

判断题

1. 在Python语言中,"" 表示赋值,(变量)(表达式),将该式右边的表达式计算后的结果值赋给左侧变量( )

{{ select(1) }}

2. x,y=y,x可以实现x和y值的互换( )

{{ select(2) }}

3. DZXh与DZXH是两个不同的变量。( )

{{ select(3) }}

4. turtle是Python中的一个模块,想要使用这个模块需要通过input(“turtle”)导入使用的模块。()

{{ select(4) }}

5. IDLE编辑器只能运行单行语句。( )

{{ select(5) }}

6. 运行语句intstr=9将报错。()

{{ select(6) }}

7. 已知a='123.6',我们可以使用int(a)将字符串'123.6'转换成数值123.6。( )

{{ select(7) }}

8.不可以在同一台计算机上安装多个Python版本。( )

a = 10
if a >= 6:

{{ select(8) }}

9.Python3.x 中input()函数的返回值是字符串( )

import turtle 
turtle.setup(0.5, 0.6)

{{ select(9) }}

10. 运行turtle.left(120)的命令是逆时针旋转120度。( )

print('python + '1' * 3)

{{ select(10) }}