""" File: howfast.py Author: Schafer Description: Takes in a distance (in meters) and a time (in minutes and seconds) and converts this to MPH (miles per hour) """ dist_str = input("How many meters in the race? ") dist_num = int( dist_str ) min_str = input("How many minutes did it take? ") min_num = int( min_str ) sec_str = input("How many seconds did it take? ") sec_num = float( sec_str ) total_seconds = sec_num + min_num*60 mph = dist_num/total_seconds *60*60*100/ (2.54 * 12 * 5280) print("That person ran "+dist_str+" meters in "+ str(mph) + " mph." )