+ 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))

24th Aug 2018, 1:57 AM
J. Gallagher
1 Respuesta
+ 2
2x2=4 return func 4×4=16
24th Aug 2018, 3:10 AM
Barclaii
Barclaii - avatar