View counts from the second to the fourth post

Code review · Medium · §3.2 The same rules

This code tries to take the three view counts of the second through fourth posts from the list, store them in picked, and print them. It runs without errors, but only two values come out. Fix just one place. Grading runs the code again with different lists.

Code to fix

views = [310, 95, 480, 120, 260]
picked = views[2:4]
print(picked)

Solve this problem in your browser

Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.