Skip to content

Instantly share code, notes, and snippets.

@Xactly
Created February 25, 2020 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Xactly/ad5aad1cd025fcd7e3004b6cc5399c6f to your computer and use it in GitHub Desktop.
Save Xactly/ad5aad1cd025fcd7e3004b6cc5399c6f to your computer and use it in GitHub Desktop.
One of the first working programms. Used to understand variables' types.
mass_pounds = input('Input mass(pounds): ' )
mass_kg = int(mass_pounds) / 2.205
mass_kg = str(mass_kg)
print(mass_kg + ' kg')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment