Skip to content

Commit

Permalink
Finalizando o desafio
Browse files Browse the repository at this point in the history
  • Loading branch information
grevizirsky committed Oct 6, 2023
1 parent 9b131a5 commit 1377977
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
21 changes: 21 additions & 0 deletions challenges/3-conversao-de-base/python/grevizirsky/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
**Exercicio:** 3 - Conversão de base

**Nickname:** grevizirsky

**Nível Técnico:** Junior

**Empresa:** Nenhuma

**Twitter**: https://twitter.com/braidiot

**Dificuldade de Resolução:** - Baixa

**Comentários:**

**Como rodar o desafio**:

Dentro do diretório do projeto, utilize o comando abaixo:

```bash
python dec_to_bin.py 7
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import sys

numero_dec = int(sys.argv[1])
numero_bin = bin(numero_dec)[2::]

print(numero_bin)

0 comments on commit 1377977

Please sign in to comment.