2025年公司岗位招聘试题及答案
姓名:__________考号:__________
一、单选题(共10题)
1.以下哪个选项是Python中定义函数的关键字?()
A.class
B.define
C.function
D.def
2.在Python中,以下哪个数据类型是可变的?()
A.int
B.str
C.tuple
D.list
3.以下哪个是Python中的列表推导式?()
A.foriinrange(5):
B.[xforxinrange(5)]
C.list(range(5))
D.range
原创力文档

文档评论(0)