- 1
- 0
- 约2.62千字
- 约 15页
- 2026-10-03 发布于江苏
- 举报
2026年初中python试题及答案
一、单项选择题(每题2分,共20分)
1.下列哪个不是Python的保留字?
A.int
B.float
C.class
D.string
答案:D
2.Python中如何定义一个空列表?
A.[]
B.()
C.{}
D.
答案:A
3.下列哪个表达式结果是True?
A.53and21
B.53or21
C.not53
D.all([0,1,2])
答案:B
4.如何在Python中导入math模块?
A.importmath
B.includemath
C.requiremath
D.loadmath
答案:A
5.下列哪个是Python中的注释符号
原创力文档

文档评论(0)