DIY: Valid Palindrome

Solve the interview question "Valid Palindrome" yourself in this lesson.

Problem statement

Write a function that takes a variable containing a string, and check whether it is a palindrome or not.

Input

...