There was an error while loading. Please reload this page.
1 parent 8c7d812 commit 79199acCopy full SHA for 79199ac
1 file changed
code/palindrome_soln.py
@@ -13,7 +13,7 @@ def first(word):
13
14
15
def last(word):
16
- """Returns all but the first character of a string."""
+ """Returns the last character of a string."""
17
return word[-1]
18
19
0 commit comments