My program uses this variable:
questionNum = random.randint(0,9)
Later in the program I tried to remove an element in the list by doing this:
questionList.remove([questionNum])
I got this error:
list.remove(x): x not in list
How can I remove an element in the list at the index questionNum
?