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 the largest volume? Which of the following is the largest volume? 4.5 x 102 m3 4.5 x 107 cm3 4.5 x 104 dm3 5.0 x 108 mm3
The domino effect, in reference to U.S. policy in Indochina during the Cold War, refers to which of these? A. the strategy of the U.S. military to defeat commun
Who was known as a trailblazer? This person became known as the "Father of Renaissance Painting" because he used the new approach in painting. A. Donatello B. M
If the earth´s tides increased , what would be the most likely explanation?
In which way was the distinction "serf" different from that of "slave"?
Settlers who grew just enough crops to support themselves likely lived in which region
Which of the following was made possible by the Fourteenth Amendment? State governments were able to pay back money owed after the war. State governments had th
how did the enlightenment lead to a more secular outlook?
Which part of the brain is represented by the highlighted area shown below?
what is 36.993 to the nearest thousandth