What is the output of the following Python program? list1 = [2, 3, 4] list2 = [1, 5] list3 = [0] list3 = list2 + list1 print(list3) A. [0, 1

Question

What is the output of the following Python program? list1 = [2, 3, 4] list2 = [1, 5] list3 = [0] list3 = list2 + list1 print(list3) A. [0, 1, 5, 2, 3, 4] B. [1, 5, 2, 3, 4] C. [2, 3, 4, 1, 5] D. None of the above

in progress 0
Melody 1 week 2021-11-23T23:13:27+00:00 1 Answer 0 views 0

Answers ( )

    0
    2021-11-23T23:15:15+00:00

    Answer: the answer is b

    Step-by-step explanation:

    from the initial list 3 is contain 0 that is [0]

    but now list has been updated to list 2+ list 1, so the elements contains in list 3 will be list 2 plus list 1

    [1,5,2,3,4]

Leave an answer

45:7+7-4:2-5:5*4+35:2 =? ( )