Create a program that uses a dictionary to assign “codes” to each character in the alphabet.

Responsive Centered Red Button

Need Help with this Question or something similar to this? We got you! Just fill out the order form (follow the link below), and your paper will be assigned to an expert to help you ASAP.

Introduction:
Assignments evaluates understanding student understanding of dictionaries
Instructions:
1.Create a Python code file named M4Lab_Encryption_FirstLast.py
(replace “FirstLast” with your own name)
2. Add a title comment block to the top of the new Python file using the following form
# A brief description of the project
# Date
# CSC-121-Encryption
# Your Name
3. Create a program that uses a dictionary to assign “codes” to each character in the alphabet. For example
codes = {‘A’ : ‘)’ , ‘a’ : ‘0’ , ‘B’ : ‘(‘ , ‘b’ : ‘9’ ,…….}
4. Using the example above, the letter ‘A’ would be converted to a parentheses ‘)’  and the letter ‘a’ would be converted to a zero (0) and so on.
5. The program is to ask the user to enter a sentence, then pass the sentence to a function that would create an encrypted version of the sentence.
6. The function that evalutes the sentence is to use a loop to iterate over the sentence then use the dictionary and create the encrypted version of the sentence. This function is a value returning function, meaning it is to return the encrypted version of the sentence.
7. The program is to then display the encrypted version of the sentence.
An example of program output is shown below.
Submit your finished code solution file(s) through the assignment link below
Note : ONLY USE PROGRAMMING METHODS LEARNED IN CLASS. If submission doesn’t comply, you will get a grade of “1”

How to create Testimonial Carousel using Bootstrap5

Clients' Reviews about Our Services