Python 20 Design Class Named Information Holds Following Personal Data Name Age Address At Q43884593
python only.2.0 and above
• Design a class named Information that holds the followingpersonal data:▪ name, age, address (this attribute has a default value of“unknown”), and phonenumber.▪ All the attributes are defined as private.• Write appropriate accessor and mutator methods.• Complete the definition of the __str__ method, such that itdisplays eachInformation object’s data in the following format:▪ name: “khan” – age: “12” – address: “north america”• Create two instances of the class.• Create a function named display_info that accepts anInformation object as anargument and display name, address, age, and phone number forthe object
Expert Answer
Answer to python only.2.0 and above • Design a class named Information that holds the following personal data:▪ name, age, add…
OR