Convert Kilometres to Miles in Python

By: Prof. Dr. Fazal Rehman | Last updated: February 3, 2024

Write a Python program to convert Kilometres to Miles

1st way to write program

Output

Please enter the speed of the motorcycle in Kilometre as a unit: 6
The speed value of the motorcycle in Miles: 3.7282260000000003

2nd way to write program

Output

Please enter the speed of car in Kilometre as a unit: 088
The speed value of car in Miles: 54.680648

Leave a Comment

All Copyrights Reserved 2025 Reserved by T4Tutorials