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

Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.