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

The dimensions of Flavia's studio wall are 19/7 m by 20/19 m. The price of wallpaper for 1 m^2 is £2.70. How much would Flavia need to pay to put up wallpaper o
Humans are not the only animals that pollute the air.truefalse
a truck is pulling an 85-kg rock attached by a rope. the coefficient of friction between the rock and the ground is 0.32. the truck applies 295 n of force to th
Can I have free vbucks in Fortnit?
Which area of the stage was out of view of the audience
The main span of the Brooklyn Bridge is 1595 feet long. The Golden Gate Bridge is about 263% of the length of the Brooklyn Bridge. To the nearest hundred feet,
solve the system of equations using elimination: -3x+3y=9 and 8x-6y=-4
Humans are not the only animals that pollute the air.truefalse
Which literary device is used in this poem?
There's an optimization problem for my AP Calculus class that I am stuck on: You just adopted an iguana and are trying to build a pen with a rectangular bottom