Skip to content

exercicios da semnana4#30

Open
Marciatkm wants to merge 1 commit intoreprograma:mainfrom
Marciatkm:main
Open

exercicios da semnana4#30
Marciatkm wants to merge 1 commit intoreprograma:mainfrom
Marciatkm:main

Conversation

@Marciatkm
Copy link

No description provided.


resultado = numero * t

print(f"{numero} x {t} = {resultado}") No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

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

Cuidado com a indentação! O resultado só está sendo impresso uma vez.

numero.append(digito)


if digito % 2 == 0:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Pode usar somente o if digito % 2:, mas não está errado assim!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants