So, recently I've had trouble getting random.shuffle to randomly pick and execute a function from a list. I've been able to get that process working but now I want the questions to be removed from the list once they're picked. I'll show you the code that should work in theory, but just randomly picks questions and repeats them.
while 1:
questionList = [Question1, Question2, Question3, Question4, Question5]
random.shuffle(questionList)
print(questionList.pop()())
If you have any idea of how to get the result I'm looking for, don't be afraid to comment or add a new answer!
~Cheers!