Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 : 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:
Test: Program outputs correct values when user inputs message and distance of
Reason: 'cdefgh' was found in the program's output.None
Timestamp: ::
Status: FAILED!
Check:
Test: Program outputs correct values when user inputs message and distance of
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: ::
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