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

if f(x)=|3x-4|+2, find f (-10)
what It Trigonometry ?
Jonathan has been on a diet since January 2013. So far, he has been losing weight at a steady rate. Bases on monthly weigh-ins, his weight, w, can be modeled by
Help??? What is 3x+5x=67y?
if f(x)=|3x-4|+2, find f (-10)
How can b^2+9b+14 be re-written?1) (b+7) (b-7)2) (b-7) (b-2)3) (b+7) (b-2)4) (b+7) (b+2)
Over what period of time would you expect to see large changes in mountains,canyons,and similar features of the earth?
Which substance will combine with oxygen gas to produce a greenhouse gas? a. Na b. S c. H₂ d. Ne e. C
what It Trigonometry ?
what type of fractions are the following A) 1/3 A) Improper B) mixed C)wholeB) 5 1/6C) 6/5answer A B C with the three multiple choice answers.