Write a python program that reads a float in Kilometers and converts it into Miles.
Answers
Answered by
3
Example: Kilometers to Miles
Example: Kilometers to Miles# Taking kilometers input from the user
Example: Kilometers to Miles# Taking kilometers input from the userkilometers = float(input("Enter value in kilometers: "))
Example: Kilometers to Miles# Taking kilometers input from the userkilometers = float(input("Enter value in kilometers: "))# conversion factor
Example: Kilometers to Miles# Taking kilometers input from the userkilometers = float(input("Enter value in kilometers: "))# conversion factorconv_fac = 0.621371
HOPE YOU UNDERSTAND!!
Similar questions