Programmer-created funcitons : def « Language Basics « Python
- Python
- Language Basics
- def
Programmer-created funcitons

def instructions():
"""Display game instructions."""
print \
# main
print "Here are the instructions:"
instructions()
print "Here they are again:"
instructions()
Related examples in the same category