You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
under the block "Function as a Parameter of Another Function" def square_number (n): return n * n def do_something(f, x): return f(x) print(do_something(square_number, 3)) # 27
that number behind the last # should be 9.
The text was updated successfully, but these errors were encountered:
under the block "Function as a Parameter of Another Function"
def square_number (n): return n * n def do_something(f, x): return f(x) print(do_something(square_number, 3)) # 27
that number behind the last # should be 9.
The text was updated successfully, but these errors were encountered: