Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

1) Create a class named User in file user.py 2) Create two attributes (variables) called firstName and lastName . 3) Then create at least 3 other attributes that are commonly stored in a user profile....

1 answer below »

1) Create a class namedUserin fileuser.py

2) Create two attributes (variables) calledfirstNameandlastName.

3) Then create at least 3 other attributes that are commonly stored in a user profile.


4) Create the "setter" and "getter" for each attribute, e.g.setFirstName()andgetFirstName()and so on.


5) Create a method namedDescribeUser()that displays a summary of the user's information.

6) Create at least 3 instances (objects) of User and call DescribeUser() for each.


7) Each object is in a separate file, named .py where is the last name of the object you created.

8) Zip the 4 files together and submit online.

Answered 7 days After Nov 08, 2021

Solution

Neha answered on Nov 15 2021
123 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here