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

Solve The Equation. 6x-6= -9(4x-1/3)
Plot A(2,3) and B(2,5). What is the midpoint of points A and B?
Salmon often jump waterfalls to reach their breeding grounds. Starting downstream, 3.02 m away from a waterfall 0.258 m in height, at what minimum speed must a
anyyyy girrllll online hereeeere m soo bored​
1. The report tomorrow (finish).​
(Please Answer Quickly) Find the distance between the point and the plane. (Round your answer to three decimal places.) (4, 2, 1) x − y + 2z = 6
Isla, Bob and Marie are playing a game involving counters. The total number of counters stays the same throughout the game. At the start of the game, the ratio
anyyyy girrllll online hereeeere m soo bored​
at the market opening, a customer purchases 200 shares of an S&P 500 inverse etf (-1x) at $50 per share. At the end of that day, the s&P 500 index decli
What work must be done to place a satelite of mass 30kg in orbit at a height of 50km above the earth with a velocity of 800m sec?