Write a program to check whether a string entered is a


PYTHON

Program Strings

Write a program to check whether a string entered is a palindrome. A string is a palindrome if it reads the same forward and backwards. The words "mom, ‘dad", "noon" for instance are palindromes.

1. Write a function def isPalindrome to check if the string entered is a palindrome.

2. Write the main function to allow the user to enter the string and prints if it is a palindrome or not.

If anyone could help me with this, I would greatly appreciate it! Please don't use global variables..up to this point in the class my teacher has taught us, a few functions, lists, tuples, strings.

Request for Solution File

Ask an Expert for Answer!!
Python Programming: Write a program to check whether a string entered is a
Reference No:- TGS02906209

Expected delivery within 24 Hours