Skip to content

Conversation

stackswithans
Copy link
Contributor

Proposed solutions for challenge #1 and challenge #4 in python.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@brunokiafuka
Copy link
Contributor

@stackswithans Ainda vais mandar às soluções dos outros dois exercícios?

#3. Remover o sinal '-' se o número for negativo

if "-" in num:
num = num.replace("-","")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ao invés disto, abs(num) funcionária melhor, não?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pensei nisso ontem ahaahahah. Vou mudar rapidinho

@stackswithans
Copy link
Contributor Author

Acho que os outros pythonistas poderiam postar, porque eu as soluções para os outros dois.

@Fausto95 Fausto95 merged commit 21c3865 into Fimba-Code:master May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants