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
This will set record to the current record list but without the last item. You may, depending on your needs, want to ensure the list isn't empty before doing this.