작성
·
675
0
lambda_mul_func = lambda x, y : x * y
print(lambda_mul_func(50, 50))
def func_final(x, y, func):
print(x * y * func(100 * 100))
func_final(10, 20, lambda x, y : x * y)
Traceback (most recent call last): File ".py", line 129, in <module> func_final(10, 20, lambda x, y : x * y) File ".py", line 127, in func_final print(x * y * func(100 * 100)) TypeError: <lambda>() missing 1 required positional argument: 'y'
뭐가 문제일까요?