Computers and Technology

1. (payday. py) Write a program to collect user input, compute total pay, and write user and summary information to a text file. Place all statements in main(). Step 1: Populate three (parallel) lists Using the appropriate loop collect name (string), hours worked (float) and hourly rate (float) for employees. If all three inputs are valid place the three values, each in its own list. You will stop collecting the names once the user gives a blank name (hits enter) a) Prompt each user for their name, hours worked (float) and hourly rate (float). Append each value to its own list. You will not know in advance how many users to expect, so use the appropriate loop. b) Handle ValueError exceptions. If this error occurs, ask user to re-enter data. See Sample Run for example

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 13:00, NycLife
Why should you evaluate trends when thinking about a career path?
Answers: 1
image
Computers and Technology, 24.06.2019 14:00, Abrahamolve
When creating a field in a table, you must set the to determine what type of data the field can store. field property data type field type data property
Answers: 1
image
Computers and Technology, 24.06.2019 17:30, KaleahV
List at least one thing to check for when you're checking the clarity and professionalism of a document.
Answers: 1
image
Computers and Technology, 25.06.2019 03:30, sduihasoj1703
What best describes the purpose of occupational safety and health administration
Answers: 1
Do you know the correct answer?
1. (payday. py) Write a program to collect user input, compute total pay, and write user and summary...

Questions in other subjects:

Konu
History, 07.07.2021 22:30
Konu
Mathematics, 07.07.2021 22:30