Skip to content

Instantly share code, notes, and snippets.

@madebyollin
Created July 27, 2018 20:39
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 madebyollin/d1d7cb8abe65d8c8fa2c8db0c214dd3b to your computer and use it in GitHub Desktop.
Save madebyollin/d1d7cb8abe65d8c8fa2c8db0c214dd3b to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
filename = "output.txt"
with open(filename, 'w') as fout:
x = 0
for x in range(5):
fout.write(""" def function_number{}(): \n
""".format(x))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment