Skip to content

S04 - Exercícios Larissa#19

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

S04 - Exercícios Larissa#19
larissalemos wants to merge 1 commit intoreprograma:mainfrom
larissalemos:main

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