piston/packages/python/3.9.4/test.py
2021-04-12 11:23:46 +05:30

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