Write a code that find if a string is palindrome and it should return true for below

Question:

Write a code that find if a string is palindrome and it should return true for below inputs too.image text in transcribed

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: