Absurd Python quiz time 🐍🧩⏲️
Guess what this prints. Then try it out from a #Python REPL.
def add_sum(nums=[2, 1]):
nums.append(nums[-1] + nums[-2])
return nums
print(add_sum() or add_sum(), add_sum() and add_sum())
print(*add_sum(), *add_sum())
If you don't have a Python interpreter handy, click the Run button here: https://pym.dev/p/2wdgp