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

express each number in fraction form before finding the inverse:7,10,1 3/4,
There are 21 males in the algebra 1 class. If 75% is female, how many students are there in the class?
A non-metal usually forms 2 covalent bonds in its compounds.How many electrons will it take in its valence shell?
A basketball player achieves a hang time of 0.773 s in dunking the ball. What vertical height will he attain? The acceleration of gravity is 9.8 m/s^2 .
by hw much is the difference of 604 and 406.64 less than thier sum ?
Describe the differences between a prokaryotic and a eukaryotic cell, and identify their parts.
how can you tell the difference between additive comparison and multiplication comparison
what's bigger 60% of 90 or half of 100?
Prove the identity: cos(3x) + cos(x) = 2cos(2x)cos(x) I'm almost done with my homework, just got stuck on this one.
which type of energy is associated with random motion of atoms and molecules in a sample of air? 1.chemical energy 2. electrical energy 3.nuclear energy 4. th