今天开始学习,老师讲得挺好的
money=int(input("how much do you have: "))
if money>=100:
print("Congrads! Go for BMW")
else:
if money>=50:
print("Congrads! Go for Toyota")
else:
if money>=20:
print("Congrads! Go for second hand car")
else:
print("Well, Go fix your bike")
print("The end")
本站有权保留或删除有争议评论。 参与本评论即表明您已经阅读并接受上述条款。