Convert Kilometres to Miles in Python

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