mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 21:46:27 +02:00
18 lines
224 B
Python
18 lines
224 B
Python
execute = (execute_with := lambda *a, **k: lambda f: f(*a, **k))()
|
|
|
|
|
|
@int
|
|
@execute
|
|
class n: __int__ = lambda _: 69
|
|
|
|
|
|
@execute
|
|
class cout: __lshift__ = print
|
|
|
|
|
|
@execute_with(n)
|
|
def output(n):
|
|
return "OK"
|
|
|
|
|
|
cout << output
|