测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A32047. 执行下面Python代码后,有关说法错误的是( )。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")

单选题 较易

题目描述

执行下面Python代码后,有关说法错误的是(   )。

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")

选项(单选)

上一题 下一题