Skip to content

Commit 79199ac

Browse files
committed
Fixing docstring
1 parent 8c7d812 commit 79199ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/palindrome_soln.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def first(word):
1313

1414

1515
def last(word):
16-
"""Returns all but the first character of a string."""
16+
"""Returns the last character of a string."""
1717
return word[-1]
1818

1919

0 commit comments

Comments
 (0)