Which of the following is mutable object in python?
a. Tuple
b. Bool
c. Int
d. List
Answers
The correct answer is Option D. List is a mutable object in Python.
Mutable objects have certain fields that can be changed. List is one such option.
List displays all the records that are stored in the database. List contains fields. These fields may be names, roll numbers, addresses, phone numbers etc. If one wants to change it, he can do this with ease.
"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."