Question: Task 1 : Write a script in the file encrypt.py that inputs a line of plaintext and a distance value and outputs an encrypted text

Task 1: Write a script in the file
encrypt.py 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.
Test Feedback:
Status: PASSED!
Check: 1
Test: Program outputs correct values when user inputs message and distance of 2
Reason: 'cdefgh' was found in the program's output.None
Timestamp: 2024-03-0819:07:54.588202
Status: FAILED!
Check: 2
Test: Program outputs correct values when user inputs message and distance of 127
Reason: Unable to find '[''abcde']' in the program's output.
Enter the plaintext: Enter the distance value: Encrypted text: "#$%&"
Error : AssertionError - Unable to find 'abcde in the program's output.
Timestamp: 2024-03-0819:07:54.605081
 Task 1: Write a script in the file encrypt.py that inputs

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!