Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need a Python program that reads user input as strings, until the keyword Done is written. Then, I must check to see whether the

I need a Python program that reads user input as strings, until the keyword "Done" is written. Then, I must check to see whether the strings that were inserted were a palindrome (words that can be read backwards, ignoring cases and spaces). Then, the strings that ARE palindromes must be thrown into a dictionary and printed out (key is counter, and value is string). Assume that input strings are only lower and upper case letters and spaces. I'm attaching a sample of how it should run:

image text in transcribed

Please avoid using Python's built in libraries for this program. It should be simple. Thank you!

Enter the strings: taco cat swap paws Who are you people? Wumbology Rats live on no evil star Done The plaindromes are: (l: 'taco cat', 2: 'swap paws', 3: 'Rats live on no evil star'h

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

Hands On Database

Authors: Steve Conger

1st Edition

013610827X, 978-0136108276

More Books

Students also viewed these Databases questions