Computers and Technology
Computers and Technology, 20.04.2021 23:30, liluv6650

Trace the code below to find the two errors. One is a syntax error meaning the code will not run with it, the other is a runtime error, where the code will run but the output is incorrect.
subtotal = input("Enter total before tax:")
tax = .08 * subtotal
print("tax on" + subtotal + "is:" + str(tax))

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 14:00, camiserjai1832
In which job role will you be creating e-papers, newsletters and preiodicals
Answers: 1
image
Computers and Technology, 23.06.2019 22:20, kandi2565
What is a programming method that provides for interactive modules to a website?
Answers: 1
image
Computers and Technology, 24.06.2019 14:30, ari313
Two students are discussing the flow of electricity. student a says that voltage is a measure of the amount of electron flow in a circuit. student b says that power is the product of voltage and current. which of the following statements is correct? a. only student a is correct b. only student b is correct c. both of the two students are correct d. neither of the two students is correct
Answers: 1
image
Computers and Technology, 25.06.2019 06:00, ozzy55
If an image has only 4 colors, how many bits are necessary to represent one pixel’s color?
Answers: 1
Do you know the correct answer?
Trace the code below to find the two errors. One is a syntax error meaning the code will not run w...

Questions in other subjects:

Konu
Mathematics, 22.02.2021 14:00
Konu
Social Studies, 22.02.2021 14:00