Skip to content

Instantly share code, notes, and snippets.

@MiguelMachado-dev
Created June 10, 2017 01:45
Show Gist options
  • Save MiguelMachado-dev/41b1c6b70b9051755970feb63388b4ba to your computer and use it in GitHub Desktop.
Save MiguelMachado-dev/41b1c6b70b9051755970feb63388b4ba to your computer and use it in GitHub Desktop.
print('{:=^30}'.format('Tabuada'))
while True:
x = int(input('A tabuada de qual número deseja saber? '))
y = int(input('Ate qual número deseja saber a tabuada do número inserido previamente? '))
for i in range(y):
print('{} x {} = {}'.format(i, x, i * x))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment