- Q X O Yo Code Text Program 1 List And String Create A List Of Courses At Access Academy And Display Them Th 1 (108.12 KiB) Viewed 45 times
= q (x) O <> YO + Code + Text Program 1: List and String Create a list of courses at Access Academy and display them. Th
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
= q (x) O <> YO + Code + Text Program 1: List and String Create a list of courses at Access Academy and display them. Th
= q (x) O <> YO + Code + Text Program 1: List and String Create a list of courses at Access Academy and display them. The courses are: precalculus, lc, rad, cs, and biology. Ask the user which of these courses they don't like. Delete the course they have chosen from the list before displaying the list again. If the course is not present in the list, print The course is not available Hints: Use appropriate list-handling built-in functions such as index(), pop() and in keyword. Sample Input/Output: Courses Available: ["precalculus', 'lc', 'rad', 'cs', 'biology'] Which of these subjects do you dislike? biology After deleting, courses are: ['precalculus', 'lc', 'rad', 'cs'] Sample Input/Output: Courses Available: ['precalculus', 'lc', 'rad', 'cs', 'biology'] Which of these subjects do you dislike? chemistry The course is not available [ ] # TODO: write your code here Courses Available: ['precalculus', '1c', 'rad', 'cs', 'biology"] Which of these subjects do you dislike? biology After deleting, courses are: ['precalculus', 'lc', 'rad', 'cs'] Type here to search Connect 34 Activate Win Go to Settings to