Last active
September 29, 2023 03:48
-
-
Save danizavtz/ef47587145208530f29916270f0e068a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
num = int(input('Digite o numero para a tabuada: ')) | |
for mult in range(1,11): | |
print(f'{num} x {mult} = {num*mult}') | |
cont = input('Deseja ver a tabuada de outro número? (S/N)') | |
while cont[0].lower() == 's': | |
num = int(input('Digite o numero para a tabuada: ')) | |
for mult in range(1,11): | |
print(f'{num} x {mult} = {num*mult}') | |
cont = input('Deseja ver a tabuada de outro número? (S/N)') | |
print('Um abraço e até logo! :)') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment