列表 clothes = ["苗服", "藏袍", "蒙古袍"],要逐个打印每一件服饰,最直接写法是:
A:for i in range(3): print(clothes)
B:for c in clothes: print(c)
C:while c in clothes: print(c)
D:print(clothes[0:])
正确答案:B
试卷来源:2026信息素养大赛智传民韵Python小高组(小学4-6年级)复赛模拟卷(一)
题库首页 › 信息素养大赛(Python) › 题目 19702
正确答案:B
试卷来源:2026信息素养大赛智传民韵Python小高组(小学4-6年级)复赛模拟卷(一)