Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8ae06c5

Browse files
committed
Update C-4-17.py
1 parent 4831c65 commit 8ae06c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PythonDataStructsAndAlgo/Recursion/C-4-17.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def isPalindrome(str):
55

66
if str[0] != str[-1]:
77
return False
8-
8+
print(str)
99
return isPalindrome(str[1:-1])
1010

1111
print(isPalindrome('racecar'))

0 commit comments

Comments
 (0)