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 an example of a narrative poem
How did world war 1 contribute to the collapse of the Russian monarchy?
what is an example of a narrative poem
How do u do this ??? Alistair buys an antique chair for £600. It is expected to increase in value at the rate of 4.5% each year. How much is it expected to be w
Which decimal is equal to 7/10?A. 0.71B. 0.7C. 0.07D. 0.071
what two large alliances took shape before the beginning of world war 1
a bottle contains 12 red marbles and 8 blue marbles. A marble is chosen at random and not replaced. Then a second marble is chosen at random. Determine the prob
What was the purpose of the pure food and drug act of 1906?
A swimming pool  20 m long and 10 m wide is surrounded by a deck of uniform width. The total area of the swimming pool and the deck is 704 m^2. Find the width o
fun facts about Uranus the planet?