print('{:=^30}'.format(' Tabuada '))

n = int(input('\nDigite um número para ver sua tabuada:'))

print(f'\n|{n:>3} x {1:<3} = {(n * 1):>3}|')
print(f'|{n:>3} x {2:<3} = {(n * 2):>3}|')
print(f'|{n:>3} x {3:<3} = {(n * 3):>3}|')
print(f'|{n:>3} x {4:<3} = {(n * 4):>3}|')
print(f'|{n:>3} x {5:<3} = {(n * 5):>3}|')
print(f'|{n:>3} x {6:<3} = {(n * 6):>3}|')
print(f'|{n:>3} x {7:<3} = {(n * 7):>3}|')
print(f'|{n:>3} x {8:<3} = {(n * 8):>3}|')
print(f'|{n:>3} x {9:<3} = {(n * 9):>3}|')
print(f'|{n:>3} x {10:<3} = {(n * 10):>3}|')