So, in this code, I'm trying to make list_1 a list of 8 strings from alp_list where no strings are the same, and to delete the items in list_1 from alp_list for more codes. I'm not sure what's the best way to do this.
import random
alp_list = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
a = 0
list_1 = []
while a < 9:
random_alp = random.choices(alp_list)
list_1.append(random_alp)
alp_list.remove(random_alp)
a += 1
print (list_1)
while len(list_1) < 9.random.shuffle(alp_list), and then just pull items from the top using.pop(0)or by slicing (alp_list[:9]).