Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions exercicio36.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
numero = int(input('montar a tabuada de multiplicação: '))
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Arquivo .md são arquivos de marcação, pra poder escrever texto bonitinho no git.

Arquivos de código python devem terminar com a extensão .py


inicio = int(input('começar por: '))
fim = int(input('terminar em: '))

if fim < inicio:
print('erro: O valor final não pode ser menor que o valor inicial.')
else:
print(f'vou montar a tabuada de {numero} começando em {inicio} e terminando em {fim}:')
for i in range(inicio, fim + 1):
resultado = numero * i
print(f'{numero} X {i} = {resultado}')
Empty file added exercicio5.md
Empty file.