Question: Python problem You have three text files with the following information: (populate the three files with your data. You may assume that all course numbers

Python problem

You have three text files with the following information: (populate the three files with your data. You may assume that all course numbers (keys) are included in each file.)

1 courseinstructor.txt: each line contains the course number (key) and the instructors last name that teach each course.

The values are separated by comma.

2 courseroom.txt: each line contains the course number (key) and the room number, where the course meet. The

values are separated by comma.

3 coursetimes.txt: each line contains the course number (key) and the meeting time of each course. The values are

separated by comma.

# complete the following tasks:

? read the content of each file and create a dictionary for each of the key-value pairs in a file: {course, instructor},

{course, room} and {course, time}. You need to use a function that will get the filename as input parameter, and return

the dictionary.

? display on the screen, in a tabular form, the course number, instructor, room number and meeting time.

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!