MCPcopy Create free account
hub / github.com/BeeBombshell/Python-DSA / is_Palindrome.py

File is_Palindrome.py

Recursion/is_Palindrome.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1'''A recursive Python program to check whether a string is palindrome or not'''
2
3def isPalindrome(s, i):
4 if(i > len(s)/2): #base case

Callers

nothing calls this directly

Calls 1

isPalindromeFunction · 0.85

Tested by

no test coverage detected