题型:单选题 题类:常考题 难易度:普通
浙教版初中信息技术九年级上学期期末试卷(9)
If a>5 then
if b<4 then
c=a-b
else
c=b-a
End if
Else
if b>3 then
c=a*b
else
c= a mod b
End if
End if
程序代码如下: x=float(input("您的体温是:")) if ① : print("欢迎您进入校园") else : ② ("请您进入隔离区") |
n=float(input("请输入用电量(千瓦时): ")) if n<0: print("输入错误,请重新输入") Elif n<50: print("你的电费是: ",n*0.5) else: print("你的电费是: ",n*0.6) |
试题篮