Ask Question
2 November, 05:58

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

+3
Answers (1)
  1. 2 November, 06:40
    0
    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]
Know the Answer?
Not Sure About the Answer?
Get an answer to your 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, ...” in 📙 Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers