Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Pyhton assignment 1 . Menu Pages:Create the menus below using a square created in the console by printing dashes ( - ) and pipes (
Pyhton assignment Menu Pages:Create the menus below using a square created in the console by printing dashes and pipes where appropriate. It should look something like this but large enough to cover almost of your computer screen when printed on the console no need to calculate for the monitor sizejust approximate is fine:eg Create Employee Create Item Make Purchase All Employee Summary Exit Specific Menu Pages to Create: Create Employee Pagea. Please define a function that asks the user to get the employees information and add that to the list. Whenever the user enters NO it will finish getting the employees information.b Use a dimensional list to create and save the employee information where each item in the list consists of the information of employee:Employee ID Employee Name, Employee Type, Years Worked, Total Purchased, Total Discounts, Employee Discount NumberEg employeelist John Alber, hourly, Sarah Rose, manager, Alex Folen, manager, Pola Sahari, hourly, c Inputs must be validated to satisfy the following requirements: Employee ID is unique within the list Employee Discount is unique within the list Nullempty value is not allowed for any of the fields Input must be number for Employee ID Years Worked, and Employee Discount Number Input must be hourly or manager for Employee Type Input is not required for Total Purchased and Total Discounts when the employee is first created in the system, these fields should be assigned with a default value of Below is the workflow diagram for the Create Employee Process, the check for null values is not included to simplify the diagram. Please make sure to implement all the checks as per requirements Create Item Pagea. Please define a function that asks the user to get the items information and add that to the list. Whenever the user enters NO it will finish getting the items information.b Use a dimensional list to create and save the item information where each item in the list consists of similar information as follows:Item Number, Item Name, Item CostEg itemlist Nike shoes, Trampoline, Mercury Bicycle, Necklace Set, c Inputs must be validated to satisfy the following requirements: Item Number is unique within the list Nullempty value is not allowed for any of the fields Input must be number for Item Number and Item CostBelow is the workflow diagram for the Create Item Process, the check for null values is not included to simplify the diagram. Please make sure to implement all the checks as per requirements Make a Purchase PageThis page will list all the items available for sales. For each item, display Item Number, Item Name, Item Cost. Please choose one of the following formats to display the Item list.Option : Print with formatItem Number Item Name Item Cost Nike shoes $ Trampoline $ Mercury Bicycle $ Necklace Set $Option : Simple printItem Number, Item Name, Item Cost Nike shoes, $ Trampoline, $ Mercury Bicycle, $ Necklace Set, $The page then prompts for user inputs such as item number and employee discount number to make the purchase. Do this until the user answers NO for Another purchase?. Once all employees have been processed, display the AllEmployee Summary Page and give the users option to go back to Menu or Exit the program. Following the flowchart diagram below for the purchasing process.Discounts are based on the number of years worked for each year, maximum as well as if the employee is a manager more discount on top of the worked year discount or hourly employee discount They are also allowed no discount once they have received $ discount All Employee Summary PageThis page will list all the employees of the company. For each employee, display Employee ID Employee Name, Employee Type, Years Worked, Total Purchased, Employee Discount Number. Please choose one of the following formats to display the Employee list.Option : Print with formatEmployee ID Employee Name Employee Type Years Worked Total Purchased Total Discount Employee Discount Number John Alber hourly $ $ Sarah Rose manager $
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