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

Does the First Amendment Affect Our Lives Today
PLEASE HELP Consider eight, eight-cubic centimeter (8 cm3) sugar cubes stacked so that they form a single 2 x 2 x 2 cube. How does the surface area of the singl
Place these Cold War events in the order they occurred. Berlin Blockade SALT 1 talks Cuban Missile Crisis Vietnam War Afghanistan War
How did the Constitution overcome the weaknesses of the Articles of Confederation?
What are the five steps in the scientific method?
what is an imperative sentence? a. Asks a question B. Shows emotion C.makes a statement D.makes a request
facts on Jason Scarpace
How does the Tenth Amendment benefit you today? You will have the right to a jury trial if accused of a crime. It allows state governments to provide free educa
If f(x) = x3 – 2x2, which expression is equivalent to f(i)?
Puritans believed that salvation depended on