Home / MCQ Bank / Computer
Computer Functions In Python

What will be the output of the following Python code? l=[2, 3, [4, 5]] l2=l.copy() l2[0]=88 l l2

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • [2, 3, [4, 5]] [88, 3, [4, 5]]

Related Computer Questions

What is the total block length 'n' of a Hamming code? What is the output of the following? "Iam learning ruby language".length What will be the output of the following C code? #include <stdio.h> struct student { char *c; }; void main() { struct student n; struct student *s = &n; (*s).c = "hello"; printf("%p\n%p\n", s, &n); } Which of the following is an attribute to the script object? What is the result of the expression (6 + 3) * 2 in Java?