Created
April 28, 2020 09:30
-
-
Save computer-tutor/5668c6f530116212e9fa70ecae411b1b 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 kgtotonne(Kg): | |
return Kg*0.001 | |
def tonnetoKg(tonne): | |
return tonne**1000 | |
def kgtopound(Kg): | |
return Kg*2.20462 | |
def poundtokg(pound): | |
return pound*0.453592 | |
#Constants | |
KG= '0.0001 TONNES' | |
POUND = '0.453952 KGS' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment