Palindrome Gate (Strings)

Read a line. Ignoring spaces and case, print yes if it reads the same backwards, else no.

Input: One line.

Output: yes or no.

Difficulty: Easy. Write your answer in the browser editor, run the examples, then submit it against hidden tests. Python and JavaScript are free; other languages are part of licode Club.

Hint

  • Clean the string first, then compare with its reverse.

More Strings practice