I am a beginner and I am creating a program to make tables, but I did not want the program to follow a growing order like "1x1, 1x2" and so on. So I used a "random.choice" function to randomly display the tables, I created a list to show the tables on the screen, but I do not know how to add and verify the answer.
import random
tabuada = int(input('Digite o número da tabuada: \n'))
if tabuada == 1:
print(random.choice(['1x1 = ','1x2 = ','1x3 = ','1x4 = ','1x5 = ','1x6 = ','1x7 = ','1x8 = ','1x9 = ','1x10 = ']))