Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (17 sloc) 403 Bytes
people = 30
cars = 40
buses = 15
if cars > people:
print "We should take the cars."
elif cars < people:
print "We should not take the cars."
if buses > cars:
print "That's too many buses"
elif buses < cars:
print "Maybe we could take the buses"
else:
print "We still can't decide"
if people > buses:
print "Alright, let's just take the buses."
else:
print "Fine, let's stay home then."