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

which type of gas is filled in lays pack and why?
can u tell me how to solve this promblem 4/7 plus 3/7
If f(x) is 4x-3 what is (f^-1of) (10)
can u tell me how to solve this promblem 4/7 plus 3/7
If 52 x equals 7800 y what does 1 x equal? What is the maths equation?
Consider two linear transformations y = T(x) and z = L(y), where T goes from R^m to R^p and L goes from R^p to R^n. Is the transformationz = L(T(x)) linear as w
2-3 facts about Warsaw Pact
If 52 x equals 7800 y what does 1 x equal? What is the maths equation?
You shoot an arrow set a target. The parabolic path of the arrow passes through the points shown in table. X. Y 30. 6 60. 7 100. 4 A. Find a quadratic function
Tennis balls with a diameter of 2.5 in. are packaged 3 to a can. The can is a cylinder. Find the volume of the space in the can that is not occupied by tennis b