Question: using python programming language Do the following. You must use exception handling. 1. Write a program that asks for two file names and then reads

using python programming language
Do the following. You must use exception handling. 1. Write a program that asks for two file names and then reads the contents of the first file and transfer them to the second file. However, each letter from the first file must be encrypted before writing it to the second file. The encryption algorithm is very simple and is as follows. "A" or "a" becomes "B" or "b" "B" or "b" becomes "C" or "c" "Z" or "z" becomes "A" or "a" All other characters are left unchanged. 2. Write a program that asks for two file names, reads the contents of the first file and count the number of times each word occurs, and then write the results (word - frequency) to the second file. 3 Write a program that asks for two file names. The first file is in CSV format and contains pairs of x and y values. Your program calculates the regression coefficient (slope) m and the intercept b of the simple linear regression model y=mx+b. The results must be written in the second file. BY 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
