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

Solve the quadratic by factoring 2X²-2X-12=0
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
example of onomatopoeia in the seven ages of man
A solution of hydrogen peroxide, H2O2, is titrated with potassium permanganate, KMnO4, according to the following equation: 5H2O2 + 2KMnO4 + 3H2SO4 = 5O2 + 2MnS
if Xx8=y is the rule,and the value of x is 4, what is the value of y
How did Niccolo Machiavelli’s book The Prince set him apart from other writers of the Renaissance?
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
What is the answer to 12-2x6+2/2
Molecular scientists can read the DNA code and compare the DNA of different organisms. This concept is used in molecular clocks to determine which of the follow
What was the major purpose of the Truman Doctrine?