1miles = 30
2conversion_factor = 0.62137119
3
4kilometers = miles / conversion_factor
5print kilometers
1kilometers = 6
2conversion_factor = 0.62137119
3
4miles = kilometers / conversion_factor
5print miles
1try:
2 Mile = int(input("Mile:- "))
3 To_km = 1.60934*Mile
4 print(Mile,"Mile = ",To_km,"Km")
5except:
6 print("Mile's must be number")