Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PYTHON Upvote for Quick response. Thank you. 25 pts Write a program that read string S from the keyboard; the program should have a function

image text in transcribed

PYTHON Upvote for Quick response. Thank you.

25 pts Write a program that read string S from the keyboard; the program should have a function that takes the string S; the function stores all unique letters in the string Sin list Land returns the list L. The program should print: the string S the string S with all letters capitalized. the list L returns by the function. the list L returns by the function in reverse order. Sample output for S = "ToBe OrNotToBe" Enter a string: ToBeOrNotToBe the string: ToBe OrNotToBe the strting capitalized: TOBEORNOTTOBE the list: ['T, 'O, 'B' 'e, 'O, 'r, 'N' , 't'] the list reversed: ['t, 'N, 'r, 'O, 'e, 'B' 'o, 'T']

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

Select Healthcare Classification Systems And Databases

Authors: Katherine S. Rowell, Ann Cutrell

1st Edition

0615909760, 978-0615909769

More Books

Students also viewed these Databases questions