araf4245 araf4245
  • 01-04-2018
  • Computers and Technology
contestada

4. Name and fix the two errors in the following piece of code that is intended to print “Debugging is fun!”. print //(“Debugging is fun!”).

Respuesta :

keu
keu keu
  • 14-04-2018
print //(“Debugging is fun!”)


Here the print is a function and // is a parameter that is used to comment section of the code. Any function call must be followed by argument call, which in case here is commented. So, the bug arises. So the correct code will be:

print (“Debugging is fun!”)
Answer Link

Otras preguntas

Which of the following is not a factor of 15?
Write the equation in standard form for the circle passing through (– 5,10) centered at the origin
y varies jointly as x and the square of z and inversely as n. if y=80 when x=9, z=4, and n=18, find y when x=32, z=7, and n=35
The kid cooks a meal for himself and the Tramp. What does he make? Sausages and beans. Pancakes. Chicken. Soup.
Help pls it’s really easy but not for me :(
A rectangular shaped tank measures 42 1/2 inches in length, 18 inches in width, and 6 1/8 inches in depth. What is the total surface area of this tank
Which of the following is not a factor of 15?
Select the correct answer. A linear function has a y-intercept of -12 and a slope of 3/2 . What is the equation of the line? A. B. C. D.
bhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh helppppppppppppppppppppppppppppppp
10. How many grams are in 6.25 x1023 of BaC₂N₂? a.1222.3 b.800.23 C.196.15 d.900.45