# # Sep 16 homework # chap 2 exercise 10, pg 50 # Jim Mahoney's example solution. # def mainly_main(): print "-- chap2ex10.py --" print "Convert mm/month to miles/hour." print "(Wikipedia says hair growth is ~ 125mm/month.)" mm_per_month = input("What is the speed in mm/month? (i.e. 125) ") # To get the conversion factor, type "miles/hour in mm/month" into Google. print "In miles/hour that is", (8.50628972e-10 * mm_per_month) mainly_main()