Question
Please help me with python project. Description of program: This program will use 3 different list (that you will create) that contain information about employees.
Please help me with python project.
Description of program: | This program will use 3 different list (that you will create) that contain information about employees. This program will take input from 3 different list that you create. The first list will contain 5 first names, the second list will contain 5 last names, and the third list will contain 5 birth years. These lists will be combined and then used to create a unique username. You will remove any duplicate usernames (you must have at least one in the original list). You will also create a dictionary to store the username in as a key with the combined employee data created in the combination process. You must use lists, a tuple, a set and a dictionary. |
Program Requirements: | The program MUST follow the input, process, output model described in the syllabus video and the introduction to programming pdf. You MUST follow the structure outlined or you will lose points. This program will need the import statements for username and todays date. This program must have a flower box comment section with your name, date created, and description of the program (FYI: Not My Description from Above) Input section: List of employees first names List of employees last names List of employees birth years Each list should have at least 5 elements Process section: Combine all data for processing hint zip() Within a for in loop do the following: 1. Use that information to create employee usernames in the following format: first initial last name year of birth i.e. Dale Fontenot 1963 = dfontenot63 2. Store the usernames in a list 3. Store the combined employee information in a dictionary with the username as the key Remove any duplicate usernames hint: set() Convert the set back to a list Within a for in loop do the following: Make a copy of the username list without the duplicates Output section: You must then output the following information in this order: Username Todays Date All Zip data Username list with all usernames (even the duplicates) Username set Username list with no duplicates Employee data dictionary Username list that has been sorted |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started