Skip to content

Instantly share code, notes, and snippets.

@lkraider
Forked from mvallebr/binConverter.py
Last active June 21, 2017 22:40
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 lkraider/69f6445d52a0ab461015c6b61c9449b9 to your computer and use it in GitHub Desktop.
Save lkraider/69f6445d52a0ab461015c6b61c9449b9 to your computer and use it in GitHub Desktop.
Exemplo de conversão de decimal para binário
print(bin(int(input("Escolha um número decimal para transformar em binario: ")))[2:])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment