Question: Python: When prompting the user you must always include text which lets the user know what should be inputted. Write a program that creates a
Python:
When prompting the user you must always include text which lets the user know what should be inputted. Write a program that creates a dictionary containing the employee number and the name of the employee. The dictionary should have the following key- value pairs:


When prompting the user you must always include text which lets the user know what should be inputted. Write a program that creates a dictionary containing the employee number and the name of the employee. The dictionary should have the following key-value pairs: Employee Number (key) Name (value) 1111 Tionne Watkins 2222 Angus Young Penelope Cruz 3333 4444 Susanna Hoffs 5555 Eric Wright The program should also create a dictionary containing the employee Number and the job title of the employee. The dictionary should have the following key-value pairs: Employee Number (key) Job Title (value) 1111 Software Engineer 2222 Director 3333 4444 Manager Software Engineer Software Engineer 5555 The program should also create a dictionary containing the employee number and salary of the employee. The dictionary should have the following key-value pairs: Employee Number (key) Salary (value) 1111 115000 2222 225000 3333 175000 4444 110000 5555 130000 The employee number and salary should be an integer. The employee number and salary should be an integer. The program should prompt the user to enter an employee number, and then it should display the employee's name job title and salary. If the user enters an invalid employee number, an appropriate error message should be displayed. Example program runs: Enter an employee number: 6666 6666 is an invalid employee number. >>> RESTART: C:\CIS150\Spring2020\Python Chapter 8\employee_info.p Enter an employee number: 5555 Eric Wright is a Software Engineer and has a yearly salary of $130000. >>> ======== RESTART: C:\CIS150\Spring2020\Python\chapter 8\employee_info.p Enter an employee number: 3333 Penelope Cruz is a Manager and has a yearly salary of $175000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
