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.
More operations with list
Matching results
Report a typo
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
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.