Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started