Question: Write a function test _ to _ numbers ( ) This function should call the practice exercise 7 function to _ numbers ( ) but

Write a function test_to_numbers()
This function should call the practice exercise 7 function to_numbers() but
pass it a different predetermined list of string numbers like
[1,2,3,4,5]. Check if the functions returns a list of
integers. Maybe check what happens if you give it a list of other
data types. For this test to pass you should get an integer list each
number. Print whether this test passed or failed at the end.

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 Programming Questions!