Sobes.tech
Junior — Senior

Determining whether a string is a palindrome

livecode

Task condition

You need to write a function that checks whether the given text reads the same from left to right and right to left, ignoring spaces and case. The function should return True if the condition is met, otherwise — False.

def check_palindrome(s: str) -> bool:
    ...