Develop a Python program, in which you'll design a class that holds the following personal data: name (string-type) address (string-type) age (integer-type) phone number (string-type) ================================================================= As part of the program, you'll then create appropriate accessor and mutator methods. Set up three instances of the class: One instance should hold your information, and the other two should hold your friends’ or family members’ information NOTE: The input data do not need to be real data. Input Data: Set up a loop and enter the following input data: data for the following attributes of 3 instances of the Personal Information Class: name address age phone number NOTE 1: The input data do not need to be real data. NOTE 2: they need to be entered at the keyboard when the program is run. Processing: Develop the following: Personal Information Class A program that creates three instances of the above class Output Data: Set up a loop and display data within each object: name address age phone number
Develop a Python program, in which you'll design a class that holds the following personal data:
- name (string-type)
- address (string-type)
- age (integer-type)
- phone number (string-type)
=================================================================
As part of the program, you'll then create appropriate accessor and mutator methods.
Set up three instances of the class:
One instance should hold your information, and the other two should hold your friends’ or family members’ information
NOTE: The input data do not need to be real data.
Input Data:
Set up a loop and enter the following input data:
data for the following attributes of 3 instances of the Personal Information Class:
- name
- address
- age
- phone number
NOTE 1: The input data do not need to be real data.
NOTE 2: they need to be entered at the keyboard when the program is run.
Processing:
Develop the following:
- Personal Information Class
- A program that creates three instances of the above class
Output Data:
Set up a loop and display data within each object:
- name
- address
- age
- phone number

Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images









