Question: Write a function called create _ grade book that accepts two arguments. The first argument names is a list of string objects and the second
Write a function called create grade book that accepts two arguments. The first argument names is a list of string objects and the second argument scores is a list of int objects. You can assume the length of the two lists are same. The function creates and returns a dictionary called gradebook in which the keys are the elements of the names list and the values are the elements of the scores list.For example, a call to creategradebook l fred', 'bob', 'mike'returnsl fred': 'bob': 'mike': Complete the create gradebook function by dragging and dropping the answers in the blanks to make it workas desired.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
