View difference between Paste ID: CXvqUQew and 7zBJHVCm
SHOW: | | - or go back to the newest paste.
1
def multipliers():
2
	return [lambda x: i * x for i in range(4)]
3
4
print([m(2) for m in multipliers()])