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

. 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

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!