CJCoding With Joseph
15free / daySign inCreate account
← Back to Question List
Python Code Walkthrough #2

Every Second Grade

mediumLists

📄 Code

Read carefully — what does this print?
1grades: list[int] = [90, 85, 70, 65, 100, 55]
2print(grades[0:6:2])
3print(grades[-1])
4print(len(grades[1:4]))

🎯 Your Answer