Question: 2. (20 points) Write a script (decrypt.py) that inputs a line of encrypted text and a distance value and outputs plaintext using a Caesar cipher.

 2. (20 points) Write a script (decrypt.py) that inputs a line

2. (20 points) Write a script (decrypt.py) that inputs a line of encrypted text and a distance value and outputs plaintext using a Caesar cipher. The script should work for any printable characters. An example of the program input and output is shown below: Enter the coded text: Lipps\$\{svph\% Enter the distance value: 4

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!