Skip to content
C

Palindrome Checker

Easypython

Check whether a given string reads the same forwards and backwards (a palindrome), ignoring letter case.

Approach: compare the lower-cased string to its own reverse using slicing (s[::-1]).

Input: One line: a word or phrase.

Output: One line: <original> is a palindrome or <original> is not a palindrome — using the original text's casing in the message, but comparing case-insensitively.

Input (stdin)

Output

Run your code to see output here...