Write a programExercise 4/4Elementary20 XP
Average speed
Task
The program gets a distance in kilometres (a decimal number) and a travel time in minutes (a whole number). Calculate the average speed in km/h, round it to 1 decimal place with round and print it like this (for 36 km in 30 minutes):
Rýchlosť: 72.0 km/h
Examples
Input
36 30
Expected output
Rýchlosť: 72.0 km/h
After you submit, 4 hidden tests will also check your solution: a decimal distance, needs rounding, a marathon, one minute.
Python starts the first time you run code.
Ctrl+Enter runs the program. Tab indents. Press Esc, then Tab, to leave the editor.
Input (stdin)
Each line = one call to input().
Output
Hints
Try it yourself first. Each hint reveals a little more - and lowers the reward a little.
Signed out, hints are free - but no XP is awarded either.
Solution
The solution unlocks after the last hint.