Create 3 - Speed Calculator.py
This commit is contained in:
parent
36c9b15661
commit
55b0a13505
4
01/3 - Speed Calculator.py
Normal file
4
01/3 - Speed Calculator.py
Normal file
@ -0,0 +1,4 @@
|
||||
totalDistance = uphillDistance + downhillDistance
|
||||
totalTime = uphillTime + downhillTime
|
||||
averageSpeed = totalDistance / totalTime
|
||||
print(averageSpeed)
|
Loading…
Reference in New Issue
Block a user