Question: In Python 3, Please and thank you! Write a dictionary that uses a dictionary to assign 'codes' to each letter of the alphabet. For example

In Python 3, Please and thank you!

In Python 3, Please and thank you! Write a dictionary that uses

Write a dictionary that uses a dictionary to assign 'codes' to each letter of the alphabet. For example codes ={A' : @', 'a' : '9', 'B": %,, 'b":, etc } Using this example, the letter A would be assigned the symbol @, the letter a would be assigned the number 9, the letter B would be assigned a symbol %, and so forth. The program should implement a function to input a sentence, then use the dictionary to write an encrypted version of the input and display it. Write a second function that takes the encrypted text and displays its decrypted contents

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!