Skip to content

Instantly share code, notes, and snippets.

@benjaminEwhite
Created May 14, 2014 15:58
Show Gist options
  • Save benjaminEwhite/5d608c9bd8ee67acadb9 to your computer and use it in GitHub Desktop.
Save benjaminEwhite/5d608c9bd8ee67acadb9 to your computer and use it in GitHub Desktop.
example of function with no arguments
def print_function():
""" I'm also a function, but I don't take any parameters"""
print "I'm {}, and I'm printing now".format(print_function.__name__)
if __name__ == '__main__':
print_function()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment