What `__defaults__` Actually Holds
def tag(item, tags=[]):
tags.append(item)
return tags
a = tag("a")
b = tag("b")
c = tag("c", tags=["x"])
Select all statements that are true after this code runs.
Sign in to answer questions and track your progress
Sign In