Skip to content

Instantly share code, notes, and snippets.

@MikiYamFos
Created April 19, 2014 17:15
Show Gist options
  • Save MikiYamFos/11090857 to your computer and use it in GitHub Desktop.
Save MikiYamFos/11090857 to your computer and use it in GitHub Desktop.
kg to lbs converter in python
kgweight = raw_input("What is the weight in kilograms?")
usweight = (float(kgweight) * 2.2046)
print str(usweight) + " lbs"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment