Learn Python & AI.
Infinite
Possibilities with Code
Learn, build, automate and level up your skills with an all-in-one developer ecosystem.
Track your progress & build your streak!
Sign in to save your learning history, earn XP, and unlock premium tools.
Learning Paths
Developer Tools
Quick utilities for everyday coding.
Mutable Default Parameters
What is the final printed output of this customer order basket?
def add_item(item, order_list=[]):
order_list.append(item)
return order_list
print(add_item('pynfinity'))
print(add_item('tvk'))