from random import shuffle
x = [[i] for i in range(10)]
shuffle(x)
Am trying to make a basic memory game on python. Above is my current code to generate random numbers in a list but I want it to print out a string instead of an integer e.g. 'duck' instead of #5 every time it is printed. When I input something like:
print(x[4])
Any help would be appreciated