import random
import string
x=list(string.ascii_uppercase+string.digits)
for i in range(10):
random.shuffle(x)
print(*x)
import random
import string
GREEN = '\033[92m'
RED = '\033[91m'
ENDC = '\033[0m'
x=list(string.ascii_uppercase+string.digits)
for i in range(10):
random.shuffle(x)
y = [GREEN+l if random.random() > 0.1 else RED+l for l in x]
print(*y)
print(ENDC)