Skip to content

Instantly share code, notes, and snippets.

@hitecherik-gist
Created December 4, 2012 20:19
Show Gist options
  • Save hitecherik-gist/4208270 to your computer and use it in GitHub Desktop.
Save hitecherik-gist/4208270 to your computer and use it in GitHub Desktop.
PY: first python function
def monty():
hello = (1 + 2 + 3) ** (6 % 3)
print "The variable hello demonstrates that sonething to the power of 0 is 1."
print "So - 6 to the power of 0 is 1: " + hello + ". No cheating! Honest!"
return hello
print monty()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment