LearnPy Hub
← Variables problems
Medium

Kilometres to Metres and Miles

Read a distance in km. Store it in metres and in miles (1 mile = 1.609344 km) in two variables and print both, metres as a whole number and miles with 3 decimals.

Input

One number.

Output

Two lines.

Sample 1

Input
5
Output
5000
3.107

Sample 2

Input
42.195
Output
42195
26.219
solution.py
Output appears here
Kilometres to Metres and Miles · Python practice problem · LearnPy Hub