Question: Write a program that reads the text file student _ folder / . labs / myanmar . txt . The file contains several instances of

Write a program that reads the text file student_folder/.labs/myanmar.txt. The file contains several instances of the word Burma. Replace each instance of Burma with Myanmar, and print the results of this transformation. The final output of your program should be:
Myanmar is a country in Southeast Asia.
The capital of Myanmar is Naypyidaw.
Its population is about 54 million people.
Myanmar is a former British colony.

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!