Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

THIS IS FOR PYTHON3 Write a function to replace at least eight different letters with established single or double character homoglyphs (e.g., replace K with

THIS IS FOR PYTHON3

Write a function to replace at least eight different letters with established single or double character homoglyphs (e.g., replace "K" with "|<", "A" with "4", "I" with "1", etc.) of your choosing. This function must take two arguments - the string to be modified and a string of letters as an argument (i.e., the letters that the user decided they wanted to replace). If any of those letters are among the eight different letters you have coded homoglyphs for, your function must replace those letters with the homoglyphs. If any of the letters passed as an argument are ones that you have not coded homoglyphs for, print an explanation do the user (i.e., print a message like "This program cannot translate the letter ..."). This function 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.

DONT USE REPLACE, FIND, ENCODE OR TRANSLATE FUNCTIONS

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

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions

Question

a. How do you think these stereotypes developed?

Answered: 1 week ago

Question

7. Describe phases of multicultural identity development.

Answered: 1 week ago