I try to execute this source code for the multiplication but it doesn't work, it's shows error on te return , I want to know if it's possible why that happen, and how I can change my code so that it will work. thanks you
def multiples():
return [lambda x : i * x for i in range(4)]
print (m[2] for m in multiples())