Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49526c8

Browse files
committed
Fixing docstring
1 parent c7038e1 commit 49526c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/palindrome_soln.py

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

1919

2020
def last(word):
21-
"""Returns all but the first character of a string."""
21+
"""Returns the last of a string."""
2222
return word[-1]
2323

2424

0 commit comments

Comments
 (0)