Question: Write a python program to populate two lists with 20 employees, one with names and the second with their salaries. You can leave the salaries
Write a python program to populate two lists with 20 employees, one with names and the second with their salaries. You can leave the salaries as integers.
Your program should do the following
1. Print individual lists on the screen
2. Combine both the lists and provide a printout of this on the screen
3. Slice the list and print out the last five values from this combined list, provide a printout of this on the screen
4. Delete items from the list at index values 10 and 15 and print the list to the screen, it should be missing values at this location
5. Make sure to use the for loop where necessary.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
