← Back
📋 Lists & Dicts MasteryQ1/8
+0 XP
list[-3:] gets last 3 items. Negative indices count from end.

How do you get the last 3 items of a list?