Question: Write a program that takes a string consisting of alphabetic characters as input Enter a string: and display 'Palindrome if the string is a palindrome
Write a program that takes a string consisting of alphabetic characters as input Enter a string: and display 'Palindrome if the string is a palindrome otherwise, Different word" A palindrome is a string which is the same backward or forward. (Note that capitalization does not matter here) ie. a lower case character can be considered the same as an upper case character: (ANNA, anna) ACTIMTY 4.121: Lab Ch 4: indexing- palindrome LAB 0/3 main.py
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
