Stone's Note
2014年10月22日星期三
If-statement
if:
1. if people < cats:
print "Too many cats! The world is doomed!"
2. if cars > people:
print "We should take the cars."
elif cars < people:
print "We should not take the cars."
else:
print "We can't decide."
没有评论:
发表评论
较新的博文
较早的博文
主页
订阅:
博文评论 (Atom)
没有评论:
发表评论