Skip to content

Instantly share code, notes, and snippets.

@ygivenx
Created May 10, 2022 02:37
Show Gist options
  • Save ygivenx/571f1e4352733ba1ecd985be605614bd to your computer and use it in GitHub Desktop.
Save ygivenx/571f1e4352733ba1ecd985be605614bd to your computer and use it in GitHub Desktop.
this program prints itself
a = ['[\\n\\t', 'print(f"a = [{a}]")', 'for i in range(1, len(a)):', "\tprint(f'{a[i]}')\n\t"]
print(f"a = [{a}]")
for i in range(1, len(a)):
print(f'{a[i]}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment