subject

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

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 06:00
Respond to the following in three to five sentences. select the workplace skill, habit, or attitude described in this chapter that you believe is most important for being a successful employee.
Answers: 1
question
Computers and Technology, 24.06.2019 10:20
Write a program that keeps asking the user for new values to be added to a list until the user enters 'exit' ('exit' should not be added to the list). these values entered by the user are added to a list we call 'initial_list'. then write a function that takes this initial_list as input and returns another list with 3 copies of every value in the initial_list. finally, inside print out all of the values in the new list. for example: input: enter value to be added to list: a enter value to be added to list: b enter value to be added to list: c enter value to be added to list: exit output: a b c a b c a b c note how 'exit' is not added to the list. also, your program needs to be able to handle any variation of 'exit' such as 'exit', 'exit' etc. and treat them all as 'exit'.
Answers: 2
question
Computers and Technology, 25.06.2019 08:10
Java and c++ are examples of languagehigh-level languagesmachine languagecompiler languages
Answers: 1
question
Computers and Technology, 26.06.2019 11:00
What is binary coded decimal,ebcd and ascii
Answers: 1
You know the right answer?
1. (payday. py) Write a program to collect user input, compute total pay, and write user and summary...
Questions
question
Mathematics, 21.03.2020 05:37
Questions on the website: 13722359