top of page
Search

PYTHON CODING

  • Writer: waclaw_koscielniak
    waclaw_koscielniak
  • Sep 10
  • 1 min read

def outer(x):

def inner(y):

return x + y

return inner

f = outer(5)

print(f(3))

print(outer(10)(2))


[Running] python3 -u "/Users/name/test/test261.py"

8

12

[Done] exited with code=0 in 0.085 seconds


Try to run it.
Try to run it.














 
 
 

1 Comment


Guest
Sep 11

Did you try to solve it?

Like
bottom of page