+ 2
Python 3 Tutorial - Lessons 92 - Module 6 - Topic 56 Functional Programming - Question 1
What is the answer to the question below from: Python 3 Tutorial - Lessons 92 - Module 6 - Topic 56 Functional Programming - Question 1 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))
1 Answer
+ 2
2x2=4
return func
4Ă4=16