Skip to content

Semana 4 - Jessica Cristina#27

Open
jessicacristinams wants to merge 3 commits intoreprograma:mainfrom
jessicacristinams:main
Open

Semana 4 - Jessica Cristina#27
jessicacristinams wants to merge 3 commits intoreprograma:mainfrom
jessicacristinams:main

Conversation

@jessicacristinams
Copy link

Não consegui fazer o exrc 5.

print("%d x %d = %d" % (tabuada_de, inicio, tabuada))
inicio = inicio + 1
else:
print("ATENÇÃO: o número de término deve ser maior que o início!")
Copy link
Collaborator

Choose a reason for hiding this comment

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

boooa!

final = int(input("Terminar em: "))

if inicio < final: #para que o número de início seja menor que o final
for tabuada in range(inicio * tabuada_de, (final+1) * tabuada_de, tabuada_de):
Copy link
Collaborator

Choose a reason for hiding this comment

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

fez a conta no próprio range corretamente, 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