Question 24 - Week 6 Practice | Prasnya
Prasnya
Continue with Google
Practice path
Dashboard
Exam
Qualifier / Quiz 1
Go to subject
Programing with python
Go to chapter
Week 6
Question 24
00:00
Est. 1 min
Marks:
+3.00
0.00
Passage
Consider the following snippet of code and answer the subquestions that follow: ``` my_list = [1, 2, 3, 4, 5] new_list = my_list new_list[0] = 10 print(my_list) ```
Question
What will be the output?
Comprehension
Easy Difficulty
07 July 2024
A
[10, 2, 3, 4, 5]
B
[1, 10, 2, 3, 4, 5]
C
[1, 2, 3, 4, 5]
D
[10]