python riddle
def listMutator(arglist): arglist = ["mutated"] print "arglist: ", arglist test = ["not mutated"] listMutator(test) print "test: ", test
Bonus question – when is the following statement True, and when is it False?
-7/6 == -(7/6)
[More programming riddles]