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

How does the abnormal shape of a sickled red blood cell affect its movement through blood vessels?
Healthy and long-lasting weight loss involves _________ changes. A.quick fix B.fad diet C.miracle foods D.lifestyle
What do Doodle’s repeated pleas of “Don’t leave me” foreshadow? Once the narrator returns to school, he leaves Doodle at home and forgets all of his plans to h
Which set of numbers could represent the lengths of the sides of a right triangle? 3, 4, 5 9, 10, 11 8, 12, 16 16, 32, 36
To calculate the area of a triangle, which formula should be used?
what the capital of NEW YORK?
Which condition is a biotic factor of an aquarium ecosystem?A) Algae growing on the glass.B) Gravel on the bottom of the aquarium.C) Amount of oxygen in the wat
What is the hypotenuse of a 30°-60°-90° triangle if the longer leg is 12 m.
Onion cell and elodea cell
what is the slope and y intercept for y=-4