Question: Develop a python program which stores my name in a text file. Develop a python program which reads data from the activity1.txt file and display

  • Develop a python program which stores my name in a text file.
  • Develop a python program which reads data from the activity1.txt file and display it. - Try to develop three version of the program using read(), readline(), and readlines()
  • Develop a Python program which Creates a Dictionary which contains pairs of - CityCode:CityName Write this dictionary into a file which entry in Dictionary appears in a line in the file - example MX:Mexico CA:Canada

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 Programming Questions!