subject

Given the following data records that includes the employee’s full name, Job, and the salary. The institute has decided to award the instructors a bonus of 200 due to their efforts during the pandemic. Adam Saleet, IT Support,1000 Naji Shemmari, Registrar,1250 Bilal Tweijari, Instructor,2000 Abdallah Mazem, Accountant,1000 Nizar Hachem, Instructor,1800 Nawwara Sleiman, Admission,900 Ameen Sinjer, QA Officer,1400 Walaa Saeed, Instructor,1900 Hamid Shami, IT Support,850 Nadine Khattar, Instructor, 1480 Using “csv”, “table_utils”, and “statistics” libraries, you are asked to do the following: a- Create a text file, SP21-Emp1.txt, and copy the above contents to it.3 b- Write a python program that does the following: 1- Read the contents of the file SP21-Emp1.txt into a list. 2- Extract the salaries into a new list. 2- For each instructor, you should add 200 to their salary. 3- Each name should also be split into first and last. 4- Using “statistics” library, calculate the mean and median of the salaries. 5- Print the records of the employees followed by the mean and the median as shown below in the expected output. 6- Include proper screenshots of the code and the output. Important Notes: 1- You can use only two Lists. 2- The whole program should include one loop and one If statement. 3- The format of the output should be identical to the given one. 4- The screenshots should also show part of your desktop in addition to the code/output

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:00
Data is processed, stored, and transmitted as a series of 1s and 0s. each 1 or 0 is called a(n) . a series of eight 0s and 1s, called a(n) , represents one character—a letter, number, or punctuation mark. data becomes when it is presented in a format that people can understand and use. digital signals are represented by two different , such as +5 volts and +.2 volts. digital data can also take the form of light and dark spots etched onto the surface of a cd or the positive and negative orientation of particles on the surface of a hard disk. data consists of numbers that might be used in arithmetic operations. it can be represented digitally using the number system. data is composed of letters, symbols, and numerals that are not used in arithmetic operations. computers represent this type of data using , ebcdic, unicode, or utf-8. data is quantified using terms such as or kibibyte (1024 bytes), and prefixes such as or mebi (1,048,576), and giga or (1,073,741,824). to reduce file size and transmission times, digital data can be compressed. compression provides the means to compress data and reconstitute it into its original state. compression throws away some of the original data during the compression process. compressed files usually have at the end of the file name and are represented with special icons. these files have to be or unzipped before you can view the data they contain.
Answers: 1
question
Computers and Technology, 22.06.2019 10:00
What is a society that has moved to the internet rather than relying on physical media called
Answers: 2
question
Computers and Technology, 23.06.2019 07:00
What are three software programs for mobile computing?
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
You can apply several different worksheet themes from which tab?
Answers: 1
You know the right answer?
Given the following data records that includes the employee’s full name, Job, and the salary. The in...
Questions
question
Chemistry, 26.11.2019 09:31
question
Mathematics, 26.11.2019 09:31
Questions on the website: 13722360