Question

Is Python list mutable?

Updated on June 2, 2025 | By Learnzy Admin | πŸ‘οΈ Views: 184 students

Solution
βœ” Verified

Yes, Python lists are mutable.
This means you can change a list after you create it. You can add, remove, or change items in the list.

my_list = [1, 2, 3]
my_list[0] = 10   # change first item
my_list.append(4) # add a new item
print(my_list)    # prints [10, 2, 3, 4]
Was this solution helpful? 38
Click here to download practice questions on Python Lists

More Questions on Python Lists

Question 1

How to check if two lists are equal?


View solution
Question 2

Find common elements in two lists


View solution
Question 3

How to remove duplicates from a list?


View solution
Question 4

Difference between sort() and sorted()?


View solution
Question 5

What is a list in Python?


View solution
Question 6

How to remove an element from a list?


View solution
Question 7

What is the difference between append() and extend()?


View solution