A function signature describes how callers use a function: its name and the arguments it accepts. A clear signature can also help readers understand the function’s purpose. In Python, default arguments let you add an option while keeping older calls working. section 6.1.2 section 1.1.1
def complete_task(task, note=""):
task.status = "completed"
task.note = note
print(f"{task.title}'s status: completed; note: {note}")
Here, note has an empty-string default, so callers can omit it and use complete_task(task). section 6.1.2








