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

Denise is working on a project for her psychology class and has decided to replicate, on a small scale, Elton Mayo's work. If her results match his, then the pr
Write a equations for Phillip stared with $42 and saved $9 each week.
5 deterA. to discourage.B. to encourage.C. to change.6 discloseA. to reveal.B. to denyC. to replace​
please help me i don’t wanna get this wrong
what is the answer to this?
What are the a b and c values of 3x^2-4x=20
*PLEASE ANSWER SOON* The equation of a circle is (x+4)2+(y−5)2=121. What is the center and radius of the circle? (a) center: (−4, 5); radius: 11 (b) center: (4,
if one m&m is randomly selected from a dish containing 7 green, 4 red, 5 blue and 8 yellow m&ms, find the probability that a red is selected
Describe the motion of molecules in these two substances when the ice cube is placed on the radiator.
A. Butcher Timber Company hired your consulting firm to help them estimate the cost of equity. The yield on the firm's bonds is 6.75%, and your firm's economist