Question: Q2: User.py has a user class that contains two functions, the first one initializes the user information, and the other print prints a summary of
Q2: User.py has a user class that contains two functions, the first one initializes the user information, and the other print prints a summary of the user's information. [2.5 Marks] Download Users.py and add the following to the code: - - Add a method that writes the user email in a text file called username.txt on your desktop. - Call the function. [0.75 Mark] - Write a class called Admin that inherits from the User class. [1 Mark] - The Admin class must have a constructor that passes all required parameters. Provide screenshots of the run, txt file in your desktop, the content of the text file. [0.25]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
