LearnPy Hub
← Variables problems
Medium

Speed

Read a distance in km and a time in hours, and print the speed in km/h rounded to 1 decimal place.

Input

Two numbers: distance, then time (time > 0).

Output

Speed with 1 decimal.

Sample 1

Input
120
2
Output
60.0

Sample 2

Input
10
3
Output
3.3
solution.py
Output appears here
Speed · Python practice problem · LearnPy Hub