Tuesday, December 8, 2015

7. Variables and Names

IN:
cars = 100
drivers = 30
cars_not_driven = cars - drivers

print "There will be ", cars_not_driven, " empty cars today."

OUT:
There will be 70 empty cars today.

No comments:

Post a Comment