假定income=4001,下面代码的显示结果是什么?ifincome3000:print(Incomeisgreaterthan3000)elifincome4000:print(Incomeisgreaterthan4000)
假定income=4001,下面代码的显示结果是什么?ifincome3000:print(Incomeisgreaterthan3000)elifincome4000:print(Incomeisgreaterthan4000)
A.none
B.Incomeisgreaterthan3000
C.先显示Incomeisgreaterthan3000再显示Incomeisgreaterthan4000
D.Incomeisgreaterthan4000
E.先显示Incomeisgreaterthan4000再显示Incomeisgreaterthan3000
正确答案:Incomeisgreaterthan3000
Tag:python语言程序设计 假定 代码
时间:2022-01-17 20:23:57