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

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

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:

  1. name
  2. address
  3. age
  4. 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:

  1. name
  2. address
  3. age
  4.  phone number
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Top down approach design
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education