Mega Code Archive
Categories
/
Python
/
Tuple
Treat the tuple as a condition
inventory = () if not inventory: print "You are empty-handed."