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

when i take half of my number and add two, i get twenty four
The committee discussed (its, their) personal goals for the coming year.
Which of these statements about neutrons is true? a. Neutrons travel around the nucleus of an atom. b. A neutron has no charge. c. Neutrons have less mass th
what is .282 repeating as a fraction
Is 1.61 kilometers a foot
how do you write 32,005,008 in two forms
Which of the following is true of Great Britain’s participation in World War II in 1940
How many meters are there in 4.80 ly ?
81.098 rounded to hundredths
Which of these characteristics differentiates electrons from protons and neutrons? a. They do not move. b. Electrons are larger. c. Electrons are not in a fi