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 4831c65 commit 8ae06c5Copy full SHA for 8ae06c5
PythonDataStructsAndAlgo/Recursion/C-4-17.py
@@ -5,7 +5,7 @@ def isPalindrome(str):
5
6
if str[0] != str[-1]:
7
return False
8
-
+ print(str)
9
return isPalindrome(str[1:-1])
10
11
print(isPalindrome('racecar'))
0 commit comments