Computers and Technology

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: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 09:20, lovely222
How to print: number is equal to: 1 and it is odd number number is equal to: 2 and it is even number number is equal to: 3 and it is odd number number is equal to: 4 and it is even number in the console using java using 1 if statement, 1 while loop, 1 else loop also using % to check odds and evens
Answers: 3
image
Computers and Technology, 23.06.2019 11:00, abdulbasharee99
In the context of the box model, what is the difference between a margin and a padding? a. a padding lies outside a box border, while a margin lies inside it. b. a padding lies inside a box border, while a margin lies outside it. c. a padding can be adjusted independently, while a margin depends on the size of its box. d. a padding depends on the size of its box, while a margin can be adjusted independently.
Answers: 3
image
Computers and Technology, 23.06.2019 12:30, umimgoingtofail
What is the difference between the internet and the world wide web?
Answers: 1
image
Computers and Technology, 23.06.2019 17:30, cxttiemsp021
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
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, 15.01.2020 03:31
Konu
Mathematics, 15.01.2020 03:31