Home / MCQ Bank / Computer
Computer Introduction To Python

What will be the output of the following Python code? >>>list1 = [1, 3] >>>list2 = list1 >>>list1[0] = 4 >>>print(list2)

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • [4, 3]

Related Computer Questions

Which header file is required for file handling in C++? Which dimension corresponds to the explanatory variables collected for each species? Spam is a/an: What is the result of `6 | 3` ? Which of the following header file is needed to use vectors in your program?