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

Simplify 7(x - 1) - 2(x + 1) + 3(x - 4) 8x - 21 8x - 4 8x + 21
Why are we unable to work long without food
`help meeeeeeeeeeeeeeeee the subject is science
c) Abus drives for 3/2hours at an average speed of 56 mph. How far does the bus drive?
HELP! (20 points) What is the area of a triangle?
in a school 45% of students are girls if there are 110 boys find the total number of students the number of girls full process​
Pea plants can have alleles for being tall or for being short. A pea plant has one allele for being tall, and one allele for being short. When it grows, it ends
Belinda's dog had a litter of puppies. She is selling the puppies for $200 each. After 2 weeks, Belinda has 3 puppies left so she decides to reduce the sale pri
Which event occurred on November 11, 1918? A)The first American troops arrived in Europe. B)The battle of Meuse-Argonne started. C)The Allies accepted the Fourt
Mike's dog bed is 5 1/4 feet long and 3 1/3 feet wide. What is the area of Mike's dog bed