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

What is determined by motion and the spacing of particles?
what is the perimeter of a triangle with vertices of (5,1) (-3,3) (-7,-3)
Which causes athlete’s foot?
use elimination to solve: NN+ND=50 5NN+10ND=450
The speed at which a certain computer can access the internet is 2 megabytes per second. How fast is this in megabytes per hour.
how do you compare 1/5 and 0.201
an airplane climbs at a rate of 66.8 feet per minute. It descends at twice the rate that it climbs. Assuming it descends at a constant rate, how many feet will
A large box of crayons holds 60crayons.There 10 crayons in each row how many rows are there ? What's the situation and the equation?
If five notebooks cost $5.25, how much will three notebooks cost?
what is the domain and range for y=lxl