Create a Program that asks the user for a no of km converts it into miles and print the result | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Create a Program that asks the user for a no of km converts it into miles and print the result

5th Mar 2020, 3:38 PM
Eda Vishnu Priyatam Reddy
Eda Vishnu Priyatam Reddy - avatar
2 Answers
0
Please show us your attempt.
5th Mar 2020, 3:40 PM
HonFu
HonFu - avatar
0
Km=float("enter the km:") mile=km/1.69 print(km, "km=", round(mile),mile)
5th Mar 2020, 3:48 PM
Eda Vishnu Priyatam Reddy
Eda Vishnu Priyatam Reddy - avatar