Home / Programming MCQs / Python MCQs / Question
S
Q. What is the output of the following program?
L1 = [1, 2, 3, 4] L2 = L1 L3 = L1.copy() L4 = list(L1) L1[0] = [5] print(L1, L2, L3, L4)
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Syntax of ‘for’ loop is given below:
What is the output of print 0.1 + 0.2 == 0.3?
What is the length of sys.argv?
What is the output of the following code? def foo(k): k[0] = 1 q = [0] foo(q) print(q)
What will be output of this expression:
What is the output of the following program? def REVERSE(L):
What will be the output of the following Python code?
Which function is called when the following Python program is executed?
What is the output of the below code?
The output to execute string.ascii_letters can also be obtained from:?
Discusssion
Login to discuss.