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."

没有评论:

发表评论