What does this program print?

from Functions
Python 3.14 beginner 2 min

What does this program print?

Python
def record(event, events=[]):
    events.append(event)
    return len(events)

print(record("created"), record("paid"))
Open in playground
Report an error