Skip to content

Instantly share code, notes, and snippets.

@ianfun
Created July 28, 2021 03:25
Show Gist options
  • Save ianfun/e0b1eba0e673d339bf60597c3218cd7c to your computer and use it in GitHub Desktop.
Save ianfun/e0b1eba0e673d339bf60597c3218cd7c to your computer and use it in GitHub Desktop.
a variable's value is it's name
for i in range(0, 0x110000):
globals()[chr(i)] = chr(i)
print(你+好=='你好')
print(H+e+l+l+o+globals()[' ']+w+o+r+l+d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment