aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-278/steven-wilson/python/ch-2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/challenge-278/steven-wilson/python/ch-2.py b/challenge-278/steven-wilson/python/ch-2.py
index 2c6f1e5423..8cec33da3f 100644
--- a/challenge-278/steven-wilson/python/ch-2.py
+++ b/challenge-278/steven-wilson/python/ch-2.py
@@ -12,6 +12,8 @@ def reverse_word(word, char):
'agoprrmming'
>>> reverse_word("champion", "b")
'champion'
+ >>> reverse_word("champion", "n")
+ 'achimnop'
"""
position = word.find(char)