- 1
what is the output of def square(x): return x * x def test(func, x) : print(func(x)) test( square , 42).
def square(x): return x * x def test(func, x): print(func(x)) test(square, 42)
2 Answers
- 2
1764
- 2
what is the output of def square(x): return x * x