Skip to content

Commit

Permalink
add link to decorators example
Browse files Browse the repository at this point in the history
  • Loading branch information
hjwp committed Jul 17, 2016
1 parent 0fe195f commit 6cc656e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions challenges/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,19 @@ def take_off_every_zig():
for i in range(1, 10001):
print('Go {}! '.format(i), end='')

"""
Your decorator might end up looking something like this:
@time_this_function
def main_screen_turn_on():
...
You'll need to find out what a decorator is and how to
create it in PYthon! Google for a guide, or try this
one: http://thecodeship.com/patterns/guide-to-python-function-decorators/
"""

"""
For bonus bonus points:
Expand Down

0 comments on commit 6cc656e

Please sign in to comment.