Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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