Question: import re How to write a Python script that: Read each line in the file. Split each line by comma. Convert all lowercase strings to
import re How to write a Python script that:
Read each line in the file.
Split each line by comma.
Convert all lowercase strings to uppercase strings.
Remove all punctuation and non alpha numeric characters from each string
Print each line.
Calculate the averages of the math score, reading score and writing score
Print the averages at the end of the program
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
