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

how was japan affected by its closeness to china
Which of the following types of creams has the most milkfat? A. Coffee cream B. Half and half C. Heavy whipping cream D. Light whipping cream
Factory employees consisted of which five groups of people?
Which of the following is the prefix meaning "excessive, above"? a. -HYPER b. -HYPO c. HYPERD. HYPO-
Which body of water is found to the east of Costa Rica? a. Pacific Ocean c. North Sea b. the Atlantic Ocean d. the Caribbean Sea
What causes a torn muscle and how can you treat it?
Natural selection favors pathogens with
12. The square and rectangle shown below have the same perimeter length Show that the length of the rectangle (3x + 1) centimetres
A claim that describes the potential effect of a food, food component, or a dietary supplement is a _______________. A. 6 claim B. structure/function claim C.
please help!! if someone know the answer please