python module for converting miles to km

Solutions on MaxInterview for python module for converting miles to km by the best coders in the world

showing results for - "python module for converting miles to km"
Salomé
20 May 2016
1miles = 30
2conversion_factor = 0.62137119
3
4kilometers = miles / conversion_factor
5print kilometers
Ricardo
24 Aug 2016
1kilometers = 6
2conversion_factor = 0.62137119
3
4miles = kilometers / conversion_factor
5print miles