Wolfpack-Helpers/speed_calc/speed_calc.py

10 lines
270 B
Python

print("Humorhenker speed calc script")
print("---------------------------")
print("Enter length (in m)")
length = float(input())
print("Enter time (in s)")
time = float(input())
print("---------------------------")
print("speed is %s kn" % round(length/time*1.944, 2))