Module Python pour convertir des miles en km
miles = 30
conversion_factor = 0.62137119
kilometers = miles / conversion_factor
print kilometers
Condemned Cockroach
miles = 30
conversion_factor = 0.62137119
kilometers = miles / conversion_factor
print kilometers
kilometers = 6
conversion_factor = 0.62137119
miles = kilometers / conversion_factor
print miles
try:
Mile = int(input("Mile:- "))
To_km = 1.60934*Mile
print(Mile,"Mile = ",To_km,"Km")
except:
print("Mile's must be number")