执行给定Python代码并依次输入1和0,最终输出结果是什么?
a = int(input())
b = int(input())
if a and b:
print("1")
elif not (a or b):
print("2")
elif a or b:
print("3")
else:
print("4")
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析