I'm a beginner in Python and sorry if my question is too obvious. I'm trying to create a Quiz class and inside of it, I have a method that should count a number of correct answers and then print it out. But somehow it will always print the maximum possible number of correct answers (even if all of them are false). I'm sure the solusion is super easy but I'm stuck with it and can't find anything similar elsewhere. This is my counter method:
def check_answers(self, answers):
correct_answers_counter = 0
if answers[0].lower() == 'a' or '(a)':
correct_answers_counter += 1
if answers[1].lower() == 'c' or '(c)':
correct_answers_counter += 1
if answers[2].lower() == 'b' or '(b)':
correct_answers_counter += 1
self.show_results(correct_answers_counter)
and if student1.check_answers(['c', 'c', 'c']), it still shows Your score is 3/3