Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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.

Input

first_name_list = ["Dale","Debbie","John","Dave","Mike"]

last_name_list = ["Fontenot","Fontenot","Doe","Dane","Roberts"]

year_born_list = ["1963","1963","1965","1966","1967"]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions