Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

To keep your messages secret, you and your friend set up a decryption system. Indeed, your messages are in the form of a characters, and

To keep your messages secret, you and your friend set up a decryption system. Indeed, your messages are in the form of a characters, and each character represents a letter of the alphabet. Here are two lists with each element corresponding to that of the other list respectively: letters = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l' , 'm', 'n', 'o', 'p', 'q', 'r', 's',' t ',' u ',' v ',' w ',' x ',' y ',' z '] characters = [4, 6, 8, '/', 7, 1, 9, 0, 2, 3, '!', '(', 4, '&', 5, '', '', ' ? ','; ','% ',' * ',' ',' ',' + ' ]

In order to read these messages normally, write a python code that takes as input the message full of characters, and returns the message with normal letters. The end result should look like this:

>>> crypt(02)

'hi'

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_2

Step: 3

blur-text-image_3

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

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions