MCPcopy Create free account
hub / github.com/geekcomputers/Python / check whether the string is Symmetrical or Palindrome.py

File check whether the string is Symmetrical or Palindrome.py

check whether the string is Symmetrical or Palindrome.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def palindrome(a):
2 mid = (len(a) - 1) // 2
3 start = 0
4 last = len(a) - 1

Callers

nothing calls this directly

Calls 2

palindromeFunction · 0.85
symmetryFunction · 0.85

Tested by

no test coverage detected