Question: Given the following string s, which of the statement creates the list my_number_list both of which are given below? s=4.7.310.41.6n my_number_list =[4,7,3,10,41,6] my_number_list= [i for

 Given the following string s, which of the statement creates the

Given the following string s, which of the statement creates the list my_number_list both of which are given below? s="4.7.310.41.6n my_number_list =[4,7,3,10,41,6] my_number_list= [i for i in s.split(".")] my_number_list= [int(i) for s in s.split(":")] my_number_list= [int(i) for i in s.split(".")] my_number_list= [int(i) for i in s.split0]

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!