Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

During my time as an undergraduate student at UCF, I enrolled in 4-5 courses a semester. When I would enroll using myUCF I would

image

During my time as an undergraduate student at UCF, I enrolled in 4-5 courses a semester. When I would enroll using myUCF I would enroll in one class at a time. One time, I tried to enroll into six courses and it told me I was unable to do so. This wasn't a technical limit, but a limit the university had placed on me. If I dropped a class, I would be able to enroll into the new class. The Program You are going to write a program that will ask the user which class they would like to take. They will input that class as a string. Your program should be able to handle both names of the class (Topics in Computer Science) or the course code (COP 2500C). After you insert the course in the list, you need to print out the course schedule. If you already have 5 courses in your list, you will print out the course schedule with the new class as the 6th course and ask the user which one they want to drop. They can input 6 to drop the one they just put in. You will need to not let the user put in any other number other than the 1-6, and will continue to prompt them until they put one in. The program ends when the user types in "EXIT" for the course name. Rubric 1 Header with name, course, date, assignment 1 - Style/Output/Comments 1 - Creates a list to store courses in 1 - Creates a loop that ends when exit is inputted 2 - Insert a course to the list within the loop 5- Prints out the ext of the list after each insert 1 - Checks if the list is too large and prompts for deletion 4 - Deletes the chosen course out of the list 2 - Keeps prompting until user choses a valid index range

Step by Step Solution

3.59 Rating (163 Votes )

There are 3 Steps involved in it

Step: 1

Heres the Python program that meets the requirements Create an empty list to store courses courselis... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Cornerstones of Managerial Accounting

Authors: Maryanne M. Mowen, Don Hanson, Dan L. Heitger, David McConomy, Jeffrey Pittman

2nd Canadian edition

978-0176721237, 978-0176530884

More Books

Students also viewed these Programming questions

Question

What is Bacons approach to scientific methodology?

Answered: 1 week ago