Created
April 28, 2020 09:31
-
-
Save computer-tutor/7c7930237b373a0f881128b9ab81b245 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def miletokm(mile): | |
return mile*1.609 | |
def kmtomile(km): | |
return km*0.62 | |
def feettoinches(feet): | |
return feet*12 | |
def inchestofeet(inch): | |
return inch*0.0833 | |
#Constants | |
MILES= '1.609344 KM' | |
FEET = '12 INCHES' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment