Question: Write a python script that inputs a line of plaintext and a distance value and outputs an encrypted text using a Caesar cipher. The script

Write a python script that inputs a line of plaintext and a distance value and outputs an encrypted text using a Caesar cipher. The script should work for any printable characters.

*the fist input is abcde, and 128. output should show "abcde".

*the second input is abcde, and 100. output should show EFGHI.

*the third input is Hello World, and 3. output should show Khoor#Zruog

all inputs need to output what is shown, and not one or the other. Please comment the sections's for better understanding, as to what the strings are doing.

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!