- → c o 0 O localhost: 8888/notebooks/Exam2-Spring%202021.ipynb ABP E Apps University of Wisco. M Inbox (3,786) - nujsi. O HTML Color Codes * p5.js Web Editor | O. Gogoanime - Watc. 2 3. Gains from trade. E Reading list TV Other bookmarks jupyter Exam2-Spring 2021 Last Checkpoint a minute ago (autosaved) Logout | Python 3 O File Edit View Insert Cell Kernel Widgets Help Trusted C » Run Markdown Problem 1 An accountant would like to have a python program to help him calculating total monthly pay to the employees. For each employee he would like to enter two numbers, separated by commas, representing total hours worked in a month and standard pay rate of the employee, respectively. He would like to enter the numbers repeatedly for exactly 5 employees who work for the company and get the total pay across all employees as the output from the program. For each employee the monthly pay is: a) hours " pay rate if he/she has worked 40 or less hours OR b) hours " pay rate 1.2 if he/she has worked more than 40 hours (applied to all the hours, not just overtime) Help the accountant by writing his desired program for him. : Example: Enter hours and pay rate separated by comma: 37,7 Enter hours and pay rate separated by comma: 42,10.5 Enter hours and pay rate separated by comma: 45,7.5 Enter hours and pay rate separated by comma: 41,8 Enter hours and pay rate separated by comma: 32,9 Total pay to all employees is: 1874.7999999999997 In [ ): Problem 2 Download the text file titled Tweats.short txt from the followina URI and save it in vourlunvter directon folder httosllidrive google com/onen2id=1N.bvai Exam2-Spring 2..ipynb Show all
- → c o 0 O localhost: 8888/notebooks/Exam2-Spring%202021.ipynb ABP E Apps University of Wisco. M Inbox (3,786) - nujsi. O HTML Color Codes * p5.js Web Editor | O. Gogoanime - Watc. 2 3. Gains from trade. E Reading list TV Other bookmarks jupyter Exam2-Spring 2021 Last Checkpoint a minute ago (autosaved) Logout | Python 3 O File Edit View Insert Cell Kernel Widgets Help Trusted C » Run Markdown Problem 1 An accountant would like to have a python program to help him calculating total monthly pay to the employees. For each employee he would like to enter two numbers, separated by commas, representing total hours worked in a month and standard pay rate of the employee, respectively. He would like to enter the numbers repeatedly for exactly 5 employees who work for the company and get the total pay across all employees as the output from the program. For each employee the monthly pay is: a) hours " pay rate if he/she has worked 40 or less hours OR b) hours " pay rate 1.2 if he/she has worked more than 40 hours (applied to all the hours, not just overtime) Help the accountant by writing his desired program for him. : Example: Enter hours and pay rate separated by comma: 37,7 Enter hours and pay rate separated by comma: 42,10.5 Enter hours and pay rate separated by comma: 45,7.5 Enter hours and pay rate separated by comma: 41,8 Enter hours and pay rate separated by comma: 32,9 Total pay to all employees is: 1874.7999999999997 In [ ): Problem 2 Download the text file titled Tweats.short txt from the followina URI and save it in vourlunvter directon folder httosllidrive google com/onen2id=1N.bvai Exam2-Spring 2..ipynb Show all
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
how to do this in python
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 2 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY