Question: what does the following code output? def make _ multiplier ( x ) : def multiplier ( n ) : return n * x return

what does the following code output?
def make_multiplier(x):
def multiplier(n):
return n * x
return multiplier
times_three = make_multiplier(3)
times_five = make_multiplier(5)
print(times_three(10)+ times_five(10))
O 15
O 50
O 80
O 30

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!