Help with python exercise
Create a task script4. ⢠Make a variable exam that is vocabulary type ⢠Create an exam variable that is initially a blank list. ⢠To create a function add an exam that adds a dictionary to the exam list keys I colloquium, II colloquium, Final exam, Engagement. The values on the keys are the points earned on the given sections of the exam and these points are entered by the user from the keyboard. For I, II colloquium and Final exam the maximum number of points a user can enter is 30, a a minimum of 0, while for Engagement points the range (0-10) is valid. If user does not enter numbers when entering data, include exception and give the user a message about incorrect data and failed entering the exam. If the user does not enter numbers from a valid range for give part of the exam suspend the addition of the exam. If the data entry is successful, add the given dictionary to the exam list.