Using for loop, write a Python program that: 1. Reads the number of hours worked by 10 employees. 2. Calculate and display the: . the total hours worked by all 10 employees and • the average hours worked by 10 employees. For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). BIUS Paragraph Arial 10 E E x X, T The total = 0 for i in range (10) hours_work = int('input("Enter the price: ")) %3D total = total + work hours for i in range (start[ end, step]): print( the total hours worked by all 10 empolyees, and the average hours we

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter4: Making Decisions
Section: Chapter Questions
Problem 3RQ
icon
Related questions
Question
Using for loop, write a Python program that:
1. Reads the number of hours worked by 10 employees.
2. Calculate and display the:
• the total hours worked by all 10 employees and
• the average hours worked by 10 employees.
For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac).
BIUS
Paragraph
Arial
10pt
E E
x² X2
次|T Te
total = 0
for i in range (10)
hours_work = int('input("Enter the price: "))
%3D
total = total + work_hours
for i in range (start[ end, step]):
print( the total hours worked by all 10 empolyees, and the average hours wore
Transcribed Image Text:Using for loop, write a Python program that: 1. Reads the number of hours worked by 10 employees. 2. Calculate and display the: • the total hours worked by all 10 employees and • the average hours worked by 10 employees. For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). BIUS Paragraph Arial 10pt E E x² X2 次|T Te total = 0 for i in range (10) hours_work = int('input("Enter the price: ")) %3D total = total + work_hours for i in range (start[ end, step]): print( the total hours worked by all 10 empolyees, and the average hours wore
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,