Ad
Code
Diff
  • def is_palindrome(s: str) -> bool:
        return s == s[::-1]
    • def is_palindrome(s: str) -> bool:
    • return (True)
    • return s == s[::-1]