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

What are the responsibilities of the MPC
it is unusual for one to be fired from one job
"Find the length of AC for which ABCD is a parallelogram. A. 4 B. 6 C. 7 D. 8"
An engineer wants to determine an efficient method for condensing large amounts of steam into liquid water. Which constant should she use?
The Hanseatic League was a group of a. Italian trading cities. c. German trading cities. b. Flemish trading cities. d. Scandinavian trading cities.
what is the product of (y+3)(y^2-3y+9) y3 + 27 y3 – 27 y3 – 6y2 + 27 y3 + 6y2 + 27
Write each fraction as a sum or difference? 3n+5/7
What are the responsibilities of the MPC
"Given that ABCD is a rhombus, what is the value of x? A. 19.5 B. 45 C. 30 D. 56 E. 18.6 F. Cannot be determined "
Below are birds-eye views of six identical toy cars moving to the right at 2 m/s. Various forces act on the cars with magnitudes and directions indicated bel