<filename>python/EXERCICIO 9 - TABUADA.py
num = int(input('Digite um número para a tabuada: '))
print('-'*11)
print('{} X {:2} = {}'.format(num,1,num*1))
print('{} X {:2} = {}'.format(num,2,num*2))
print('{} X {:2} = {}'.format(num,3,num*3))
print('{} X {:2} = {}'.format(num,4,num*4))
print('{} X {:2} = {}'.format(num,5,num*5))
print('{} X {:2} = {}'.format(num,6,num*6))
print('{} X {:2} = {}'.format(num,7,num*7))
print('{} X {:2} = {}'.format(num,8,num*8))
print('{} X {:2} = {}'.format(num,9,num*9))
print('{} X {:2} = {}'.format(num,10,num*10))
print('-'*11)
#{:2} para as casas decimais ficarem na mesma largura

<filename>python/EXERCICIO 9 - TABUADA.py
num = int(input('Digite um número para a tabuada: '))
print('-'*11)
print('{} X {:2} = {}'.format(num,1,num*1))
print('{} X {:2} = {}'.format(num,2,num*2))
print('{} X {:2} = {}'.format(num,3,num*3))
print('{} X {:2} = {}'.format(num,4,num*4))
print('{} X {:2} = {}'.format(num,5,num*5))
print('{} X {:2} = {}'.format(num,6,num*6))
print('{} X {:2} = {}'.format(num,7,num*7))
print('{} X {:2} = {}'.format(num,8,num*8))
print('{} X {:2} = {}'.format(num,9,num*9))
print('{} X {:2} = {}'.format(num,10,num*10))
print('-'*11)
#{:2} para as casas decimais ficarem na mesma largura

#{:2} para as casas decimais ficarem na mesma largura