Rau.l M.

asked • 03/12/22

The following code has which kind of error?

The following code has which kind of error?

total = 0

x = 0

while x < 10:

    total = total + x

x = x + 1

1.syntax

2.runtime

3.logic

4.fatal


Answer?


1 Expert Answer

By:

Donald W. answered • 03/14/22

Tutor
5.0 (214)

Senior Software Engineer with over 25 years of industry experience

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.