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

Plant which propagates with the help of its leaves is.
(-18,-14)(-6,15) find the slope of the line through each pair of points
Please help :(Solve the qaudratic equation given below(9x + 13)² = 49(9x + 13)² = 49​
Which word in lines 16-19 gives the best clue to the meaning of relief?
to determine the number of trout in a lake a conservationalist catches 184 trout, tags and throws them back into the lake. later 56 trout are caught; 14 of them
equation y = -2/3x + 6.
Determine the value of x. Question 4 options: A) 10 B) 5 C) 10 D) 5
The metal skewer gets so hot that you drop your marshmallow in the campfire because of​
A 60-g sample of radioactive isotope is measured after two half-lives have passed. What pair of percentages describes the sample after two half-lives? 50% uncha
Will loves to go fishing in the coastal estuary. He brings home his catch every weekend and bakes the fish for dinner. The next time he goes to his favorite fis