Question: Create a function is_palindrome () that takes an input string s and returns True if s is a palindrome, otherwise False. Your answer should
Create a function is_palindrome () that takes an input string s and returns True if s is a palindrome, otherwise False. Your answer should include a for-loop. Example: is_palindrome ('helleh') >>> True is_palindrome ('abc') >>> False [ ] ### TEST FUNCTION: test_palindrome # DO NOT REMOVE THE LINE ABOVE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
