Question: using python Given a list of objects (could be of type string or numeric) from the user, write a function called convert_numeric(L) that receives the
Given a list of objects (could be of type string or numeric) from the user, write a function called convert_numeric(L) that receives the list L and converts all objects that are string and contain numbers to a numeric type. For example, given [1, '56', 'a', '0'] the function should return [1, 56, 'a', 0] Your answer should NOT print anything and should NOT contain a call to your function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
