Question: Use python Create a function, encrypt()that prompts the user for a file name and read the textual content of the file and substitute the alphabetic

Use python

Create a function, encrypt()that prompts the user for a file name and read the textual content of the file and substitute the alphabetic characters in the message with the next character in the English alphabet, i.e., a becomes b, m becomes n. If there are z letters, substitute those with a. Leave non-alphabetic characters as is in the encrypted message. Then the function should print the encrypted message. Disregard the case of characters.

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!