Javatpoint Logo
Javatpoint Logo

Python program to convert kilometers to miles

Here, we are going to see the python program to convert kilometers to miles. Let's understand kilometers and miles first.

Kilometer:

The kilometer is a unit of length in the metric system. It is equivalent to 1000 meters.

Miles:

Mile is also the unit of length. It is equal to 1760 yards.

Conversion formula:

1 kilometer is equal to 0.62137 miles.

See this example:

Output:

Python Basic Programs8



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA