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

using python using python Given a list of objects (could be of type string

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

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!