We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7038e1 commit 49526c8Copy full SHA for 49526c8
code/palindrome_soln.py
@@ -18,7 +18,7 @@ def first(word):
18
19
20
def last(word):
21
- """Returns all but the first character of a string."""
+ """Returns the last of a string."""
22
return word[-1]
23
24
0 commit comments