注意:此页面搜索的是所有试题
以下代码的运行结果为( )。
x = True
y = False
z = False
if x or y and z:
print("1")
else:
print("2")

A.1
B.2
C.True
D.运行出错

参考答案