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

PLEASE ANSWER I AM USING THE LAST OF MY POINTS FOR THIS!!!
what was the most important contribution of the shang dynasty?
_____ is the splitting of a nucleus into smaller fragments. a. fusion b. radioactivity c. fission d. nuclear radiation
why do all organisms need water
how long will it take 36 grams of plutonium-240 to decay to 12 grams?
Which of the following best characterizes the U.S. government's approach to civil liberties during World War I? a. They were treatened by President Wilson but p
Who help found maryland as a safe place for catholics
How did the spinning frame affect production? A) It allowed workers to increase production at home. B) It allowed a worker to spin thread and yarn much
do the centrioles duplicate during interphase?
If the valence electrons were removed, what would be the ion charge of the element? Na = _____ -1 +1 -3 +3