aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-270/steven-wilson/python/ch-2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/challenge-270/steven-wilson/python/ch-2.py b/challenge-270/steven-wilson/python/ch-2.py
index dfadc663ec..9fcc5985f3 100644
--- a/challenge-270/steven-wilson/python/ch-2.py
+++ b/challenge-270/steven-wilson/python/ch-2.py
@@ -23,6 +23,8 @@ def distribute_elements(integers, x, y):
6
>>> distribute_elements([4, 4, 2, 6], x=3, y=1)
4
+ >>> distribute_elements([1, 1, 1, 6], x=3, y=1)
+ 10
'''
integers = sorted(integers)
max_int = integers[-1]