My Python Quiz

The ultimate place to learn Python!

Question #58: What gets printed?

def addItem(listParam):
    listParam += [1]

mylist = [1, 2, 3, 4]
addItem(mylist)
print len(mylist)