We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9275b2 commit c85c2cfCopy full SHA for c85c2cf
exercises/strategy/strategy.py
@@ -2,6 +2,8 @@
2
# Strategy pattern -- function-based implementation
3
4
"""
5
+This is a simple implementation of the classic Strategy
6
+
7
>>> joe = Customer('John Doe', 0) # <1>
8
>>> ann = Customer('Ann Smith', 1100)
9
>>> cart = [LineItem('banana', 4, .5),
0 commit comments