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

Define Megalith. How do historians explain the building of megaliths in prehistoric times? ​
Knowing that sin 30° = 1/2 , what is a?
Point B ∈ |AC| so that AB:BC=2:1. Point D ∈ |AB| so that AD:DB=3:2. Find AD:DC Thanks plz answer I don’t get it
The governors in the colonies usually promoted the needs of the colonists rather than promoting British interests. True or false?
10,825.643 which digit is in the tenths place​
The average atomic weight of copper, which has two naturally occurring isotopes, is 63.5. One of the isotopes has an atomic weight of 62.9 amu and constitutes 6
Given that f(x) = x2 + 6x – 2, g(x) = x – 7, and h(x) = x + 4 find each function. (f + g)(x) options are A) x2 + 7x – 9 B) x2 + 7x + 2 C) x2 + 5x – 6 D) x2 + 5
Lily is researching the light-sensing rod cells of the eye. She decides to use stem cells to produce new rod cells. Which statement best explains why Lily is us
which disease is common among smokers​
Point B ∈ |AC| so that AB:BC=2:1. Point D ∈ |AB| so that AD:DB=3:2. Find AD:DC Thanks plz answer I don’t get it