Title Reporting the Total Hours Each Employee Worked
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/index.html?lang=PYTHON&set=py_work_hours
Platform Name PCEX
Features
Description Suppose we have an input file that contains information about how many hours each employee of a company has worked. The file looks like the following (Employee's name, Hours):\nErica 7.5 8.5 10.25 8 8.5\nErin 10.5 11.5 12 11 10.75\nSimone 8 8 8\n...\nConstruct a program that reads this file and calculates the total number of hours worked by each individual. Make sure that the program handles each specific exception that could occur.
Keywords exception handling, file i/o
Author Roya Hosseini
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/index.html?lang=PYTHON&set=py_work_hours
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview