Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S04 - Exercícios Larissa #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

larissalemos
Copy link

No description provided.

continue
else:
break
except:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Mandou muito bem no try except!



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

inicial = int(input("Qual é o número inicial da tabuada? "))
final = int(input("Qual é o número final da tabuada? "))

if num >= 0 and num <= 10 and inicial >= 0 and inicial <= 10 and final >= 0 and final <= 10 and final > inicial:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Testou super bem os casos de contorno. Arrasou!

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