Question: Please help me with python program A. Ask for user input with the following questions: 1. How long do you want your password? Length must
Please help me with python program

A. Ask for user input with the following questions: 1. How long do you want your password? Length must be between 10 and 16 in length. 2. Do you want special characters in your password? 3. Do you want numbers in your password? B. Validate the pw length the user entered and make sure it is at least 10 but not greater than 16 and that it can be converted to an integer. Classes needed: (in separate py files) Person class: Properties: first name, last name, birth year Methods: greet person that returns a message and age that will return a person's age in years based on the current year Employee class: Will inherit from the Person class Properties: password length, use special characters flag, use numbers. flagMethods: build password that will take the properties and create a password that will be of the requested length and have special characters and numbers if the employee request them. Gather the data entered in a list with the elements being oftype tuple containing first name, last name, birth year Add a function under the variable section to generate a username. This function will take the first name, last name and year of birth as parameters along with a duplicate found flag. The duplicate found flag will be used in the function's if else logic to generate the correct type of username. You will then pass the username back out to the function call. After the creation of the username, instantiate a copy of the employee class and pass all the employee data to it including first name, last name, birth year, password length, use special characters flag, and use numbers flag. Within the person class you will create a message and calculate the person's age in years and store that information in a list to be printed out in the output section. In the employee class (which should inherit from person), you will generate a password of required length and use special characters and numbers if the employee has requested. Pass the password back to your main program. Create a list with the following data in it and add it to the Employee data dictionary INSTEAD of the content of the employee tuple. Use the username as the key and a tuple as the value with the following data: first name, last name, year of birth, password in a list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
