Matching results

Report a typo

There's a list with student's grades during a semester: grades = [8, 5, 7, 9, 8, 6, 5, 7, 6, 7, 8, 8, 7, 9]. Compute the expressions on the left to their results on the right.

Match the items from left and right columns
grades.count(5)
10 in grades
grades.index(8, 6, 10)
grades.index(7, 5)
ValueError
2
False
7
___

Create a free account to access the full topic