I tried to make an x1, x2, x3 etc', but I dont know how... I tried to make this code as a while:
x1=random.choice(string.letters)
x2=random.choice(string.letters)
x3=random.choice(string.letters)
x4=random.choice(string.letters)
x5=random.choice(string.letters)
x6=random.choice(string.letters)
x7=random.choice(string.letters)
x8=random.choice(string.letters)
x9=random.choice(string.letters)
x10=random.choice(string.letters)
but when I tried to write it as a while loop:
i=1 #Counter
#Letter Creation
while i<=10:
x(i) = random.choice(letterschoice)
but there is an error. How do I fix the x(i) and make it x1, x2, x3 etc'?