Skip to content

Instantly share code, notes, and snippets.

@bartekpacia
Created December 15, 2019 12:30
Show Gist options
  • Save bartekpacia/db74686a871bf5b905c93941aac73515 to your computer and use it in GitHub Desktop.
Save bartekpacia/db74686a871bf5b905c93941aac73515 to your computer and use it in GitHub Desktop.
weight_lbs = float(input('What is your weight in pounds? '))
weight_kg = weight_lbs * 0.45359237
print('Your weight in kilograms is ' + str(weight_kg))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment