What is the answer to the following - Functional Programming Question 1 in Tutorial | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the answer to the following - Functional Programming Question 1 in Tutorial

What is the output of this code? def test(func, arg): return func(func(arg)) def mult(x): return x * x print(test(mult, 2))

24th Aug 2018, 1:00 AM
J. Gallagher
1 Answer
0
please use the python code playground to find the output. here: https://code.sololearn.com
24th Aug 2018, 1:27 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar