gradient1 = lambda x : 2*x -4 #위와 아래는 같다 def gradient2(x): return 2 * x - 4 x = 3 print(gradient1(x)) print(gradient2(x))