Lists
13 / 21
EasyOutput prediction

Unpacking with star at the front

What does this code print?

*rest, last = [10, 20, 30, 40]
print(rest)
print(last)

← → arrow keys to navigate

Sign in to save your progress.