subject

Homework 1 Fundamentals 1. Debugging
Look at the following code – there are 3 errors.
weightOne float(input ("Enter the weight of box 1: ))
weightTwo float(input("Enter the weight of box 2: "))
if weightOne > weightTwo:
print(“Box 1 is lighten")
elif weightOne < weight Two:
Print("Box 2 is lighter")
else:
print("The two boxes weigh the same)
Identify each error, state whether it is a logic or syntax error and explain how to fix it. [6]
Error 1:
Type of error
(UK

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 06:00
What makes myhexadecimalnumber a child of mynumber? which methods does myhexadecimalnumber inherit directly from the mynumber class? what can an instance of the mynumber class do? what can an instance of the myhexadecimalnumber class do? which methods are overridden? why are they overridden? how many examples of overloading are there? why was this done? where is the super keyword used? what is it doing? why isn’t the incoming value set immediately in the second myhexadecimalnumber constructor? how many examples can you find of an inherited method being called?
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Hey i just logged on and one of the moderators deleted a bunch of my answers to questions, even though the answers were right and the people it doesn't make sense but if anyone wants to talk about anything just message me lol (this is super random lol)
Answers: 1
question
Computers and Technology, 24.06.2019 09:30
What is the definition of digital literacy?
Answers: 1
question
Computers and Technology, 24.06.2019 21:00
Which device has the most limited computing functionality?
Answers: 1
You know the right answer?
Homework 1 Fundamentals 1. Debugging
Look at the following code – there are 3 errors.
w...
Questions
question
Mathematics, 11.02.2020 08:03
question
Social Studies, 11.02.2020 08:03
question
Mathematics, 11.02.2020 08:03
question
English, 11.02.2020 08:03
question
English, 11.02.2020 08:03
Questions on the website: 13722366