Created
December 4, 2012 20:19
-
-
Save hitecherik-gist/4208270 to your computer and use it in GitHub Desktop.
PY: first python function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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