Junior — Senior
Deconstruction of a list containing a single element
livecode
Task condition
What will be printed to the console after executing the following code?
first, *rest = [1]
print(first)
print(rest)
livecode
Task condition
What will be printed to the console after executing the following code?
first, *rest = [1]
print(first)
print(rest)