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 designer started as a fashion illustrator before focusing on industrial design?
What's the word for wandering about; tending to move around, travel
Heat is released when H2 gas and O2 gas react to form H2O. Why? A. Breaking the H–H bond in H2 gas releases heat. B. Breaking the O–O bond in O2 gas releases he
What's the other word speaking in circles; round-about speech
What was the major purpose of the Truman Doctrine?
What's the other word a weak or lifeless feeling
What was the major purpose of the Truman Doctrine?
What's the word for wandering about; tending to move around, travel
If 2/5 of a number is added to 1/3 of the same number ,the sum is 22. What is the number?
Your friend is asked to differentiate between evaporation and boiling.what questions could you ask to make him to know the difference between evaporation and bo