Created
March 6, 2021 01:27
-
-
Save EZLiang/f67c8f4844f3e37ca3e830b3e8c7e17d to your computer and use it in GitHub Desktop.
Obfuscated Python code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NOTHING = lambda: None | |
def IF(condition, yes, no=NOTHING): | |
if condition: | |
return yes() | |
else: | |
return no() | |
def ITERATE(iterable, fun): | |
for i in iterable: | |
fun(i) | |
def SET(vname, val): | |
exec("global " + vname + "; " + vname + " = " + val.__repr__()) | |
def CHAIN(*args): | |
for i in args: | |
i() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment