week-5 #6

Merged
Kenwood merged 12 commits from week-5 into master 2021-02-08 00:20:27 -05:00
1 changed files with 8 additions and 0 deletions
Showing only changes of commit 52e2472d13 - Show all commits

8
5/5.5/5.5.1/main.py Normal file
View File

@ -0,0 +1,8 @@
def mph_and_minutes_to_miles(mph, dt):
return (dt / 60) * mph
miles_per_hour = float(input())
minutes_traveled = float(input())
print('Miles: {:f}'.format(mph_and_minutes_to_miles(miles_per_hour, minutes_traveled)))