Learn
0 day streak

0 of 39 answered today

Clears at midnight
Names & mutabilityEasy

Collect flagged transfers

flag adds a transfer id to a list of flagged transfers and returns the list. Each call without a list is meant to start a new batch. What's wrong?

def flag(transfer_id, flagged=[]):    flagged.append(transfer_id)    return flagged batch_a = flag("t1")batch_b = flag("t2")

Pick with 1–4 or A–D. Once you answer, every choice is explained.