LearnPy Hub
← Functions problems
Medium

is_palindrome()

Write is_palindrome(s) that ignores case and non-letters. Print Yes or No for the input line.

Input

One line.

Output

Yes or No.

Sample 1

Input
A man, a plan, a canal: Panama
Output
Yes

Sample 2

Input
hello
Output
No
solution.py
Output appears here
is_palindrome() · Python practice problem · LearnPy Hub