python if 語(yǔ)句
提問(wèn)人:楊紫紅發(fā)布時(shí)間:2020-11-20
i = 10
n = int(raw_input("enter a number:"))
if n == i:
print "equal"
elif n < i:
print "lower"
else:
print "higher"
繼續(xù)查找其他問(wèn)題的答案?
相關(guān)視頻回答
i = 10
n = int(raw_input("enter a number:"))
if n == i:
print "equal"
elif n < i:
print "lower"
else:
print "higher"
點(diǎn)擊加載更多評(píng)論>>