Lists
7 / 21
EasyOutput prediction

Extended unpacking with *

What does this code print?

first, *middle, last = [1, 2, 3, 4, 5]
print(middle)

← → arrow keys to navigate

Sign in to save your progress.