Python Dates and Times in Python Let's Build a Timed Quiz App The Quiz Class

Total_correct Method in Functional Python

Can the following replace the total_correct method?

total_correct = reduce(lambda a: a + 1, self.answers, 0)