#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) }}
- 是
- 否
相关
在以下作业中: