Question: . Question 4: Define a function called more emphasis that takes as input the name of a text file, reads the text file, and then

. Question 4: Define a function called more emphasis that takes as input the name of a text file, reads the text file, and then rewrites the file so that there are twice as many exelamation points. For instance, suppose there is a text file called test file.txt that contains Hello! Does this text have enough emphasis? Let me know!! Then, after running the command more emphasis ('test file.txt') in python, the text file should instead read Hello!! Does this text have enough emphasis? Let me know
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
