top of page
Search

PYTHON CODING

  • Writer: waclaw_koscielniak
    waclaw_koscielniak
  • Jul 7, 2025
  • 1 min read

def pack(f):

def wrap(x): return (f(x), x)

return wrap

@pack

def square(x): return x ** 2

print(square(3)[1])


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

3

[Done] exited with code=0 in 0.051 seconds

Try it.
Try it.

 
 
 

Recent Posts

See All

1 Comment


Guest
Jul 07, 2025

Try to run it.

Like
bottom of page