Question: Summary: Write a Python program that reads a text file with your name and class schedule, such that the first line in the file is

Summary: Write a Python program that reads a text file with your name and class schedule, such that the first line in the file is your name and each subsequent line has one of your classes. For example: Tom Cruise cosc 1323- Computer ConceptsI bask 1301 - Basket Weaving scub 4421- Scuba Diving For Seniors More Details: Use Notepad or TextEdit to create the file. Your program does NOT have to create the file, only open it, read it and print each line to the screen. You will use a text editor, such as Notepad or TextEdit to create the file and type in your name and class schedule. Then close the file the editor and use your Python program to read the file and print the contents to the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
