Dictionaries Assignment

This week, I would like you to modify the program you wrote last week so that it takes the data from the final employee numbers, employee names, employee salary, total hourly rate, and company raises lists and combines it into a list of dictionary items that looks like a database-like structure. At the end of your program, print out the final list.

User Input Assignment

For this assignment, you need to submit a Python program that gathers the following employee information according to the rules provided:

  • Employee ID (this is required, and must be a number that is 7 or less digits long)
  • Employee Name (this is required, and must be comprised of primarily upper and lower case letters. It also cannot contain any of the following characters: ! " @ # $ % ^ & * ( ) _ = + , < > / ? ; : [ ] { } \ ).
  • Employee Email Address (this is required, and must be comprised of primarily of alphanumeric characters. It also cannot contain any of the following characters: ! " ' # $ % ^ & * ( ) = + , < > / ? ; : [ ] { } \ ).
  • Employee Address (this is not required, but if it is provided, it must be comprised primarily of alphanumeric characters. It cannot contain any of the following characters: ! " ' @ $ % ^ & * _ = + < > ? ; : [ ] { } ).

Write your program such that if a user inputs any of the above information incorrectly, the program terminates without asking for more information.

At the end of your program, it should print out: "Hello, < Employee Name>. Your Employee ID is < Employee ID>, and your email address is < Employee Email Address>. Your address is < Employee Address>". If no address was provided, please replace the last sentence with "You did not provide an address.'

While Loops Assignment

For this assignment, you need to modify the program you created in the User Input Assignment so that it can take up to 5 employees' worth of information. Also, when a user enters improper data, the program asks the user to re-enter it before continuing on.

As employee information is added, create a list of dictionaries that hold all of the information. And the end of your program, print out the list.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.