摘要:
cars = 100space_in_a_car = 4.0drivers = 30passengers = 90cars_not_driven = cars - driverscars_driven = driverscarpool_capacity = cars_driven * space_i... 阅读全文
摘要:
print "I will now count my chickens:"print "Hens", 25 + 30 / 6print "Roosters", 100 - 25 * 3 % 4print "Now I will count the eggs:"print 3 + 2 + 1 - 5 ... 阅读全文
摘要:
# A comment, this is so you can read your program later.# Anything after the # is ignored by python.print "I could have code like this." # and the com... 阅读全文