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...

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 examplecodes = {'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.




Submityour finished code solution file(s) through the assignment link belowNote : ONLY USE PROGRAMMING METHODS LEARNED IN CLASS. If submission doesn't comply, you will get a grade of "1"

Mar 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here