defrunning_pace(distance,time):time_split=time.split(':')time_parsed=float(time_split[0])+float(time_split[1])/60time_1km=time_parsed/distance#1 km divided speed in [km / m]
seconds_1_km=int(float(str(time_1km-int(time_1km))[1:])*60)minutes_1_km=int(time_1km)returnf"{minutes_1_km}:{seconds_1_km}"
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Python :