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
Social Sciences,
24 days ago
Science,
24 days ago
Math,
24 days ago
CBSE BOARD XII,
1 month ago
Geography,
1 month ago
English,
8 months ago
Math,
8 months ago