Question: Write a function called find_max() that accepts a dictionary of realtors and their home sale prices of the form, realtors={ Stephanie: [320000, '460000', 220000, 279000],

Write a function called find_max() that accepts a dictionary of realtors and their home sale prices of the form,

realtors={ "Stephanie": [320000, '460000', 220000, 279000], "Charles": [309000, 234500], "Donna": [762000, '455000', 135000], "Jenny": ['349000', 405000, 129000], "Mark": [156000, 239000, 360000, '890000'] } 

and returns the maximum sale price and its data type (int). Note that some of the sale prices were recorded as strings. Make sure that your function can handle this case by including a step to convert all values into int data types.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!