Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Plz use python3----For example: Type the string to be translated: By the way, can I have a cheeseburger? BY THE WAY CAN I HAVE A

image text in transcribed

Plz use python3----For example:

Type the string to be translated: By the way, can I have a cheeseburger?

BY THE WAY CAN I HAVE A CHEESEBURGER 

Do you want to replace letters? YES

After replacing words BTW I CAN HAS CHEEZBURGER 

The user needs type any words they want and the system will transfer their words into the new string.(You may not use any built-in find, replace, encode, or translate functions, but you may write your own version of these functions if you wish, and you may use the indexing operator (i.e., the square brackets), the slicing operator (i.e., the colon), the "in" operator, and the len() function. and you are not allow to use upper())

Write a function to replace at least different four words with established abbreviations (e.g, replace "PLEASE" with "PLZ") of your choosing. This function must take only the string to be modified as an argument and must return the string with the replacements. The restrictions (in terms of what you can and cannot user) are the same as with the previous item

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

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions

Question

Explain exothermic and endothermic reactions with examples

Answered: 1 week ago

Question

Write a short note on rancidity and corrosiveness.

Answered: 1 week ago

Question

Understand how customers respond to effective service recovery.

Answered: 1 week ago

Question

Know the principles of effective service recovery systems.

Answered: 1 week ago