-
Notifications
You must be signed in to change notification settings - Fork 38
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
base: main
Are you sure you want to change the base?
Conversation
continue | ||
else: | ||
break | ||
except: |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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!
No description provided.