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: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:30
What kind of motivation is katrina showing? use the drop-down menu to complete the statement. katrina is using motivation because she is personally interested in learning more.
Answers: 2
question
Computers and Technology, 22.06.2019 14:40
For this assignment you have to write a c program that will take an infix expression as input and display the postfix expression of the input. after converting to the postfix expression, the program should evaluate the expression from the postfix and display the result. what should you submit? write all the code in a single file and upload the .c file. compliance with rules: ucf golden rules apply towards this assignment and submission. assignment rules mentioned in syllabus, are also applied in this submission. the ta and instructor can call any students for explaining any part of the code in order to better assess your authorship and for further clarification if needed. problem: we as humans write math expression in infix notation, e.g. 5 + 2 (the operators are written in-between the operands). in computer's language, however, it is preferred to have the operators on the right side of the operands, ie. 5 2 +. for more complex expressions that include parenthesis and multiple operators, a compiler has to convert the expression into postfix first and then evaluate the resulting postfix write a program that takes an "infix" expression as input, uses stacks to convert it into postfix expression, and finally evaluates it. it must support the following operations: + - / * ^ % ( example infix expression: (7-3)/(2+2) postfix expression: 7 3 2 2 result: rubric: 1) if code does not compile in eustis server: 0. 2) checking the balance of the parenthesis: 2 points 3) incorrect postfix expression per test case: -2 points 4) correct postfix but incorrect evaluation per test case: -i points 5) handling single digit inputs: maximum 11 points 6) handling two-digit inputs: 100 percent (if pass all test cases)
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
Experimental data that is expressed using numbers is said to be
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
How can you repin an image on your pinterest pin board a. click on the "repin" button b. click on the "add pin" button c. click on the "upload a pin" button d. click on the "save pin" button.
Answers: 2
You know the right answer?
Given the following data records that includes the employee’s full name, Job, and the salary. The...
Questions
question
Biology, 05.01.2022 15:10
question
Chemistry, 05.01.2022 15:10
question
Mathematics, 05.01.2022 15:10
Questions on the website: 13722362