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

Write the phrase as a rate in simplest form. 320miles on 34gallons
Which of the following is a solution to this inequality? Y>2/3x+2 A. (0,3) B. (-3,1) C. (3,5) D. (1,2)
Write the standard form of the equation of the line passing through the point (1,2) and perpendicular to the line x-5y=10
What key event in the civil rights movement happened in 1964
how much we can expect to earn by having petroleum engineer degree with PhD?​
Which of the following notions represents an area of agreement between the Protestant Reformation and the Catholic Reformation? Superstitious belief in magic sh
What is the value of x? Enter your answer in the box.
The nearest ten 1202(38)
Three books and two pens cost a total of $34 . Four books and five pens cost a total of $50 . What is the price for a single book and for a single pen?
Which equation represents a line that passes through (5, 1) and has a slope of StartFraction one-half EndFraction? y – 5 = y minus 5 equals StartFraction one-ha