Create 3 - Speed Calculator.py

This commit is contained in:
Lukas Baumann 2021-02-18 21:13:19 +01:00 committed by GitHub
parent 36c9b15661
commit 55b0a13505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,4 @@
totalDistance = uphillDistance + downhillDistance
totalTime = uphillTime + downhillTime
averageSpeed = totalDistance / totalTime
print(averageSpeed)