subject

You are testing a classmate’s program. The program asks you how many times you want to play the game, and you input “five.” You get the following error message: “ValueError: invalid literal for int() with base 10: 'five.'” What line of code could prevent this problem in the future?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:20
Terri needs to insert a cover page into her document. where should she go to access the commands to do so? o insert tab, objects group o insert tab, illustrations group o insert tab, pages group o insert tab, media group submit
Answers: 1
question
Computers and Technology, 23.06.2019 21:50
Description: write function lastfirst() that takes one argument—a list of strings of the format "lastname, firstname" —and returns a list consisting of two lists: (a) a list of all the last names (b) a list of all the first names
Answers: 2
question
Computers and Technology, 24.06.2019 12:00
An npn transistor is correctly biased and turned on if the a. base is negative. b. collector is negative. c. collector is positive with respect to the emitter and negative with respect to the base. d. collector is the most positive lead followed by the base.
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Consider jasper’s balance sheet. which shows how to calculate jasper’s net worth?
Answers: 1
You know the right answer?
You are testing a classmate’s program. The program asks you how many times you want to play the game...
Questions
question
Mathematics, 05.05.2020 13:56
question
Biology, 05.05.2020 13:56
question
Mathematics, 05.05.2020 13:56
Questions on the website: 13722367