Skip to content

Instantly share code, notes, and snippets.

@dobrienSTJ
Created September 14, 2016 17:09
Show Gist options
  • Save dobrienSTJ/b4feffbd6aa31203dca79cc0e7adbc4e to your computer and use it in GitHub Desktop.
Save dobrienSTJ/b4feffbd6aa31203dca79cc0e7adbc4e to your computer and use it in GitHub Desktop.
STJLOL-DOB-Running Distances
while True:
distance=input("Please Enter The Distance in KM Of The Run and I Will give you the Correct Conversion")
if distance == "5km":
print("3.1 miles")
elif distance == "10km":
print("6.2 miles")
elif distance == "21km":
print("Half Marathon")
elif distance == "42km":
print("Marathon")
elif distance == "50km":
print("50K Ultra Marathon")
elif distance == "100km":
print("100K Ultra Marathon")
else:
print("ERROR")
print("The Men's Marathon World Record Is 2:04.57")
print("Thank You for using this system!!!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment