Question
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
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 itemStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started