Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Could someone please help me with this assignment on python? I included what I have started but its clearly way off. Write a program that

Could someone please help me with this assignment on python? I included what I have started but its clearly way off.
image text in transcribed
image text in transcribed
Write a program that takes a string as input and tells whether or not that string is a palindrome. A what? Let me use this stolen definition from Wikipedia to tell you. A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward or forward. Allowances may be made for adjustments to capital letters, punctuation, and word dividers. Input should only be letters and spaces. NO PUNCTUATION (or else this gets much harder). Please keep in mind that case should not matter but will for comparison sake so you need to make sure and take that into consideration. Hint: Use Replace method for strings.pyother string methods,py strings to compare and slicing strings.py &to help you create 2 Sample Runs: This program wiii determine it a string is a paiindrome String: A Toyota Yes, thi, a palindrome This program wili determine if a string is a palindrome String: Some men interpret nine memos Yen, this is a palindrome This program will decermine if a string is a palindrome String: Fred , cool Sorry, this 1 NOT a palindrome

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

6th International Edition

061921323X, 978-0619213237

More Books

Students also viewed these Databases questions

Question

LO13.1 List the characteristics of monopolistic competition.

Answered: 1 week ago