[Solved]-Q2 Needs Map Couple Months Staying New Continent Order Better Communicate Decided Map Engl Q37156555
Please help 🙂 Write in Python

Q2: Who needs a map!? After a couple months of staying on this new continent, in order to better communicate, you decided to map the English language to the local tongue. As it turns out, there was a simple cipher that you could use to translate directly! To this end, you decided to help future explorers by designing a Python algorithm that would translate single words into the local equivalent. The cipher operated as follows: Each vowel (AEIOU) became the next vowel in order,so A->E,Eetc….> – Each consonant (everything else) became the third next consonant in order, so B->F, C>G etc… Your function must take in a word and then map each character to the proper local converted character and subsequently return the converted word. You must use the map operator in your conversion. Your code should work for both capital letters and lower case letters. The output should be in lower case letters. Note: a word in this assignment is defined as a string with one or more alphabetic characters. Hints: 1. You may want to create two lists: one for vowels, another one for consonant letters. 2 method index() might be helpful: Link 3. Use % (mod operation) to wrap around the list. def continental_cipher_map (english_word): Return a translation of the english word into the local language using the ciphers on the class website. continental cipher_map hi) 1o >>>continental_cipher_map( data’) hexe >>> continental_cipher_map ( ‘science’) wgoirgi # YOUR CODE GOES HERE # Show transcribed image text Q2: Who needs a map!? After a couple months of staying on this new continent, in order to better communicate, you decided to map the English language to the local tongue. As it turns out, there was a simple cipher that you could use to translate directly! To this end, you decided to help future explorers by designing a Python algorithm that would translate single words into the local equivalent. The cipher operated as follows: Each vowel (AEIOU) became the next vowel in order,so A->E,Eetc….> – Each consonant (everything else) became the third next consonant in order, so B->F, C>G etc… Your function must take in a word and then map each character to the proper local converted character and subsequently return the converted word. You must use the map operator in your conversion. Your code should work for both capital letters and lower case letters. The output should be in lower case letters. Note: a word in this assignment is defined as a string with one or more alphabetic characters. Hints: 1. You may want to create two lists: one for vowels, another one for consonant letters. 2 method index() might be helpful: Link 3. Use % (mod operation) to wrap around the list. def continental_cipher_map (english_word): Return a translation of the english word into the local language using the ciphers on the class website. continental cipher_map hi) 1o >>>continental_cipher_map( data’) hexe >>> continental_cipher_map ( ‘science’) wgoirgi # YOUR CODE GOES HERE #
Expert Answer
Answer to Q2: Who needs a map!? After a couple months of staying on this new continent, in order to better communicate, you decide… . . .
OR

