Skip to content

Instantly share code, notes, and snippets.

@meadsteve
Created April 20, 2021 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meadsteve/3a6e4821ffeddd3c9f330074c379dff4 to your computer and use it in GitHub Desktop.
Save meadsteve/3a6e4821ffeddd3c9f330074c379dff4 to your computer and use it in GitHub Desktop.
CODE = "def say_message(message):;0;1print(message);0say_message('hello')"
exec(CODE.replace(";0", "\n").replace(";1", "\t"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment