16 lines
181 B
Python
16 lines
181 B
Python
def plus(a, b):
|
|
return a * b
|
|
|
|
|
|
def multiple(func_plus, count):
|
|
h = 0
|
|
|
|
for i in range(count):
|
|
h += func_plus(1, 2)
|
|
|
|
return h
|
|
|
|
|
|
c = multiple(plus, 5)
|
|
print(c)
|