Home /
Expert Answers /
Computer Science /
python-please-is2053-fall-2022-lab03-class-schedules-complete-and-upload-the-following-program-pa950
(Solved): Python Please
IS2053-Fall 2022 | Lab03: Class Schedules Complete and upload the following program ...
Python Please
IS2053-Fall 2022 | Lab03: Class Schedules Complete and upload the following program to CodeGrade through BlackBoard as a Python file named lab3.py. Note, you are required to also submit the python file named progcourses.py which contains your class definitions. Since it is time to start planning for next semester, write a program that displays information for the programming courses offered by the IS department. Assignment Objectives: You must include the following techniques, as demonstrated in your current textbook, to receive full credit for the assignment objectives portion of the Code Grading Rubric: - Procedural and Object-Oriented - Finding Items in Lists with the in Programming Operator - Classes - List Methods and Useful Built-in - Working with Instances Functions - Sequences - Processing Lists Your program MUST USE the main function, which must be called correctly (use the template). Additionally, you must include docstrings as shown in the template. Note: This means you should use the methods taught in the textbook and from directions from your instructor. Something you find in a YouTube video or website will not be counted as correct. Your program will: 1. Create a python file named progcourses.py for the class CourseSect. 2. The CourseSect class will contain set and get functions, as well as an initializer for the following data items: CRN Subject Course Section Title Credit Hours ? Meeting Time Course Type Room Instructor Campus ? CourseList.xlsx is provided in the BlackBoard assignment page that includes all data. This file is provided to make it easy to cut and paste the data (hard-code) into your python script. You are not expected to import the Excel file.
3. Initialize a blank list to hold the course objects. 4. Instantiate all CourseSect objects and append them to your list. 5. Print out a brief list of courses that includes CRN, Course/Section, Course Title, and Instructor. (See example below) 6. Prompt the user to enter a CRN number. If the CRN is not present, print an error message and exit the program. If the CRN is good, print a header that references the CRN, and prints all of the course details (exactly like shown below). our formatted output should look EXACTLY like the following: an invalid CRN is entered:
If a valid CRN is entered: