执行以下Python代码后,最终的输出结果是?
age = 17
is_student = True
if age >= 18 and is_student:
print("可以购买学生票")
elif age < 12 or not is_student:
print("需要购买成人票")
else:
print("无需额外购票")
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析