根据 Python 变量的命名规则,下列不可以作为变量名的是?(题目选项缺失,Python 变量命名规则:只能包含字母、数字和下划线,不能以数字开头,不能是 Python 关键字。可依据这些规则判断选项。)Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
16. 题目:下列选项不能输出三行你好的是?()Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
A.Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
print("你好")
Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
print("你好")
Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
print("你好")
Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
B.Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
for i in range(3):
Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
print("你好")
Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
C. print("你好你好你好")Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
D.Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
n=1
Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
while True:
Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
print("你好")
Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
n=n+1
Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
if n>3:
Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
break
Pct100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库