Quiz · Lists · lesson 9 of 11
Quiz — a list default
What does the program print?
def add_item(item, box=[]):
box.append(item)
return box
add_item(1)
print(add_item(2))Subscribe to take the course
The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.