Question 25 - 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 25
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
Choose the correct option regarding the given code.
Comprehension
Easy Difficulty
07 July 2024
A
List is a mutable object.
B
List is an immutable object.
C
Both `my_list` and `new_list` are referring to the same list.
D
`my_list` and `new_list` are referring to different lists.