# How Flight Works 6, Exercise 3: the shrinking Atlantic # Journey time = distance / speed. Distance about 5,500 km. # Speeds are illustrative round figures, not real data. DIST = 5500.0 # km for label, speed in (("ocean liner", 40.0), ("flying boat", 300.0), ("piston airliner", 500.0), ("jet airliner", 900.0)): hours = DIST / speed print(label, "->", round(hours, 1), "hours") # Output when run: # ocean liner -> 137.5 hours # flying boat -> 18.3 hours # piston airliner -> 11.0 hours # jet airliner -> 6.1 hours # # The crossing fell from nearly six days to about six hours. That change, more # than any single invention, is what made air travel a mass market.