Skip to content

Exercícios obrigatórios e extras - Semana 04 - Zênite#18

Open
zenite-serena wants to merge 1 commit intoreprograma:mainfrom
zenite-serena:main
Open

Exercícios obrigatórios e extras - Semana 04 - Zênite#18
zenite-serena wants to merge 1 commit intoreprograma:mainfrom
zenite-serena:main

Conversation

@zenite-serena
Copy link

No description provided.

numeros_impares = []

for numero in lista:
if numero % 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 numero % 2:, mas não está errado assim!

# Faça um Programa que leia 20 números inteiros e armazene-os num vetor.
# Armazene os números pares no vetor PAR e os números IMPARES no vetor impar. Imprima os três vetores.

lista = [int(input("Insira o primeiro valor: ")), int(input("Insira o segundo valor: ")), int(input("Insira o terceiro valor: ")), \
Copy link
Collaborator

Choose a reason for hiding this comment

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

Uma dica:

image

@@ -0,0 +1,115 @@
# 1. Faça um programa que peça uma nota, entre zero e dez.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ma-ra-vi-lho-sa.

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