MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / palindrome.py

File palindrome.py

Python/palindrome.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# function which return reverse of a string
2
3def isPalindrome(s):
4 return s == s[::-1]

Callers

nothing calls this directly

Calls 2

isPalindromeFunction · 0.70
printFunction · 0.50

Tested by

no test coverage detected