Ask Question

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!").

+2
Answers (1)
  1. 30 December, 09:20
    0
    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!")
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “4. Name and fix the two errors in the following piece of code that is intended to print "Debugging is fun!". print / / ("Debugging is ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers