Question: Need to solve in python programming If s) is a list, then the statement (s. extend([10, 20]) ) is equivalent to which of the following

Need to solve in python programming

Need to solve in python programming If s) is a list, then

If s) is a list, then the statement (s. extend([10, 20]) ) is equivalent to which of the following statement(s)? Select all answers that apply (from none to all): A. S = S + [10, 20] B. S += [10, 20] C. s. append([10, 20]) D. s . append(10) followed by (s . append(20) E. s. extend(10) ) followed by (s. extend(20) F. s. extend([10]) ) followed by (s . extend([20])

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!