Is palindrome string

A palindrome is a word, phrase, number or sequence of characters which reads the same backward as forward. Examples for words are radar, level, and racecar. Write a function that checks whether a strings is a palindrome or not.

is_palindrome_string(string)

Return whether string is a palindrome, ignoring the case.

Parameters:string (str) – The string to check.
Returns:A boolean representing whether string is a palindrome or not.
Return type:bool

Start by downloading the exercise template and editing this file. You can run tests via

$ python is_palindrome_string.py test

to check whether you got a correct solution. You can also take a look at one possible solution.