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

A band sold out 4 of its last 20 shows. What is the experimental probability that the band's next show will be sold out? Write your answer as a fraction or whol
Find the area of the shaded region. Write your answers in terms of pi.
Question 10 of 254 PointsA jar of mass 2.1 kg sits on a table. What is the normal force acting on thjar?O A. 33.1 NO B.2.1 NO c. 5.3 NO D. 20.6 N​
Four words to describe shi huangdi
4. Circumstances of a speech
5 cm 8 cm Right triangle Missing angle
Which of the following ways to avoid excavation hazards was mentioned in the Construction eTool? (Check all that apply) Pile soil close to the excavation site.
Write a short summary on the theme of the poem "Caged bird"
Connor Corp. has large amount of data that they are trying to analyze from the last 15 years. They have an arithmetic sales growth average of 12% and a geometri
HELP PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ