Computers and Technology
Computers and Technology, 05.05.2020 03:19, AM28

Monty is fed up because his Python program doesn’t work properly. He wants to write a program that will enable him to input the number of lizards that he has eaten each week. Lizards are one of his favourite foods and to stay healthy he needs to eat at least 15 lizards every week. He wants his program to output how many more lizards that he still needs to eat this week. This is his program below, but when Monty runs the program it always gives an error message. Look at the code carefully and try to find out what the problem is.(Tip: you could type the code in Python and try it out for yourself.) What does Monty need to do to fix his program?

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 17:30, kameronstebbins
Which tab should you open to find the option for adding a header?
Answers: 1
image
Computers and Technology, 23.06.2019 01:20, sosick90501
Write a function balancechemical to balance chemical reactions by solving a linear set of equations. the inputs arguments are: reagents: symbols of reagents in string row array products: symbols of products in string row array elements: elements in the reaction in string row array elcmpreag: elemental composition of reactants in two dimensional numeric array elcmpprdcts: elemental composition of prducts in two dimensional numeric array hint: the first part of the problem is setting up the set of linear equations that should be solve. the second part of the problem is to find the integers from the solution. one way to do this is to mulitiply the rational basis for the nullspace by increasing larger integers until both the left-and right-side integers exist. for example, for the reaction that involves reacting with to produce and : reagents=["ch4", "o2"]; products =["co2", "h2o"]; elements =["c","h", "o"] elcmpreag=[1,4,0;
Answers: 3
image
Computers and Technology, 23.06.2019 07:30, kimhoss2
What are ways to switch windows in excel? check all that apply. on the status bar, click the windows button, and then click the file name. on the task bar, click to display the excel jump list, and then click the file name. on the view tab, in the window group, click switch windows, and then click the file name. on the review tab, in the viewing group, click files, and then click the file name.
Answers: 1
image
Computers and Technology, 24.06.2019 10:00, noahmace
When writing a business letter, how many times can you use the same merge field in a document? once once, unless using the address block feature unlimited it will depend on the type of document you choose
Answers: 1
Do you know the correct answer?
Monty is fed up because his Python program doesn’t work properly. He wants to write a program that w...

Questions in other subjects:

Konu
Health, 29.08.2019 20:30
Konu
Mathematics, 29.08.2019 20:30