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 AfterNov 08, 2021

Answer To: 1) Create a class named User in file user.py 2) Create two attributes (variables) called firstName...

Neha answered on Nov 15 2021
110 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