Ask Question
11 September, 06:11

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

+4
Answers (1)
  1. 11 September, 06:39
    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?
Find 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 you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers