LearnPy Hub
← Variables problems
Medium

Fuel Efficiency

Read distance in km and fuel used in litres. Print km per litre with 2 decimals, then the litres needed for 100 km with 2 decimals.

Input

Two numbers (fuel > 0).

Output

Two lines.

Sample 1

Input
300
20
Output
15.00
6.67

Sample 2

Input
100
10
Output
10.00
10.00
solution.py
Output appears here
Fuel Efficiency · Python practice problem · LearnPy Hub