Question: ## Ex14: Function Returns And Dictionaries ## Objective: Learn how to write functions designed to process data and return a set of values from a

\#\# Ex14: Function Returns And Dictionaries \#\# Objective: Learn how to write functions designed to process data and return a set of values from a dictionary. Description: Write a function that stores information about student grades. 1. Name the function gradeCenter. a. The function should always receive the name of the exercise, the score and the exercise ID. b. It should then accept a variable/arbitrary number of keyword arguments. 2. Call the function with the required information and one other name-value pair (completed=True). a. Your function should work for the following call: wcustudent = gradeCenter('Functions-ReturnValues', 100, 14, completed=True) 3. Print the dictionary that is returned to make sure all the information was stored correctly. - Name the file: Ex14-Functions-ReturnValues - Solution example terminal output: \{'name': 'Functions-ReturnValues', 'score': 100, 'id': 14, 'completed': True
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
