Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

S-2 Find Palindrome

Write a function that accepts a name (as a string) and returns a message if this name is  a palindrome or not.

It's better before start comparing the two strings to put both to lower case, in order to avoid case sensitivity problems.

You may want to revisit some of the strings and arrays methods you learned in order to solve this.

*Palindrome is a string that if you reverse it, is read the same' for ex. 'anna' is a palindrome.

Find Palindrome

Kostas Diakogiannis
Module by Kostas Diakogiannis, updated more than 1 year ago
No tags specified