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

6. Fran shoots an arrow straight up. At the top of the arrow's path A. Velocity and acceleration are both zero. B. Velocity is zero and acceleration is not zero
Consider the following pair of equations: x+y= -2 y= 2x+10 If the two equations are graphed, at which point do the lines representing the two equations interse
Solve the equation P = t+ r+ s for t
UAE a land of innovation and great opportunities. Explain
Can someone please help me
Find the point B on AC such that the ratio of AB to BC is 2:3
The line y = –2x – 8 is graphed. Which ordered pairs are solutions to the equation? Check all that apply. (–8, 8) (–6, 2) (–2, 4) (0, –4) (2, –12)
Please answer this correctly
How to have self confidence when your really shy
find the final amount of money in an account if $4,300 is deposited at 4% interest compounded semi-annually and the money is left for 5 years