v = int(input('Quer ver a tabuada de qual valor? '))

while True:
    print(f'{v}x1 = {v*1}')
    print (f'{v}x2 = {v*2}')
    print (f'{v}x3 = {v*3}')
    print (f'{v}x4 = {v*4}')
    print (f'{v}x5 = {v*5}')
    print (f'{v}x6 = {v*6}')
    print (f'{v}x7 = {v*7}')
    print (f'{v}x8 = {v*8}')
    print (f'{v}x9 = {v*9}')
    print (f'{v}x10 = {v*10}')
    v = int (input ('Quer ver a tabuada de qual valor? '))
    if v<0:
        break

v = int(input('Quer ver a tabuada de qual valor? '))

while True:
    print(f'{v}x1 = {v*1}')
    print (f'{v}x2 = {v*2}')
    print (f'{v}x3 = {v*3}')
    print (f'{v}x4 = {v*4}')
    print (f'{v}x5 = {v*5}')
    print (f'{v}x6 = {v*6}')
    print (f'{v}x7 = {v*7}')
    print (f'{v}x8 = {v*8}')
    print (f'{v}x9 = {v*9}')
    print (f'{v}x10 = {v*10}')
    v = int (input ('Quer ver a tabuada de qual valor? '))
    if v<0:
        break
