Question: Problem 3 Complete the function below that takes a Python dictionary as an argument. Given a dictionary of the form: adict = {'name': 'Romeo Montague',

Problem 3 Complete the function below that takes a Python dictionary as an argument. Given a dictionary of the form: adict = {'name': 'Romeo Montague', 'age': 32, 'DOB': '01/21/1594"} the function should return the 'age' value and 'DOB' value as a single tuple. Example usage: get_age_and_dob (adict) should return (32, '01/21/1594') def get_age_and_dob(adict): return
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
