I have this program that calculates the time taken to answer a specific question, and quits out of the while loop when answer is incorrect, but i want to delete the last calcula
list.pop() removes and returns the last element of the list.
list.pop()