Skip to content

Jessica Ferreira- Exercício Profª Belisa- 28.ago.2023#26

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

Jessica Ferreira- Exercício Profª Belisa- 28.ago.2023#26
JehFerreiraPG wants to merge 1 commit intoreprograma:mainfrom
JehFerreiraPG:main

Conversation

@JehFerreiraPG
Copy link

No description provided.

multiplicador_esclh_inicio = int(input("Digite o número para iniciarmos? "))
multiplicador_esclh_termino = int(input("Agora escolha outro número para finalizarmos: "))

while multiplicador_esclh_inicio > multiplicador_esclh_termino:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ar-ra-sou

pares = []
impares = []

for _ in range(20):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Arrasou usando o _ já que não usaremos o valor!

numeros = int(input("Digite um número inteiro: "))
inteiros.append(numeros)

if numeros % 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 numeros % 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