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

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
Get step-by-step solutions from verified subject matter experts
