Question: Verify that you have made your functions more robust to erroneous input/data. (To do this, use try and except.) The time allocated for this question
Verify that you have made your functions more robust to erroneous input/data. (To do this, use try and except.) The time allocated for this question is 25 minutes. At the end of this period, please go to the next question. Otherwise, you may have trouble with the time for the remaining questions. This question is 50 points: Be careful about the indentation. If your code has a syntax error you will not be graded You are going to design a program that generates courses.ext file. This file consists of the names of courses. Create a list for your courses. Write each value of the list into the file. After writing the items to the file call the function findCoursed function. This function works in the file and returns the courses that end withs", Please check the following sample output listofcourses (Mathematics", "Physics", "Music", "Geography, Biology" "Literature" courses.txt Mathematics Physics Music Geography Blology Literature Sample Output LIST Mathematics Physics
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
