Which of the following is mutable object in python?
Answers
List is a mutable object in Python.
Mutable objects are objects that have certain fields that can be altered.List falls under such a category.
List displays all the records that are stored in the database. List contains fields that vary from names, roll numbers, addresses to phone numbers, etc. If one wants to alter it, it can easily be done.
"Answer: d. List
A list is a type of mutable object in Python. Every data element in Python is treated as an object. Mainly, the objects are categorized into two categories namely, mutable objects and immutable objects. So, the correct choice of answer for the given question from the given list of "possible answers" is d. List. A "mutable object" is basically an object which is changed after definition whereas an "immutable object" is an object which is unable to change after its definition."