Quiz · Tuples and unpacking · lesson 4 of 8
Quiz — a starred target
What does the program print?
first, *middle, last = [1, 2, 3, 4]
a, b = 1, 2
a, b = b, a + b
print(middle, a, b)Subscribe to take the course
The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.