Unnamed
public text v1 · immutabledef initFunc():
#Initialize the given words
words = ["A", "A", "B", "B", "C", "C", "D", "D", "E", "E", "F", "F"]
gameMaster = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,]
while len(words)!=0:
indexNum = random.randint(0,(len(words)-1))
gameMaster[indexNum]= words[indexNum]
del words[indexNum]
return gameMaster