Kilometer is a unit of length in the metric system, equal to one thousand meters.
Mile is also the unit of length, equal to 5280 ft or 1760 yards.
How to/conversion formula.
1 kilometer is equal to 0.62137 miles.
Miles = Kilometer*0.62137
Kilometer = Miles/0.62137
Kilometer = float(input("Enter kilometers?:") c = 0.62137 Miles = Kilometers*c Print("%0.3f kilometers is equal to %0.3f miles"%(kilometer,miles))