About Printing - About Errors

5 important questions on About Printing - About Errors

What is a syntaxError ?

It is comparable with a spelling mistake.

What is a NameError?

That a name (of for example a function) is not defined according to python. (for example prnt() instead of print()).

What are all errors that are not SyntaxErrors called?

Runtime errors
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart

Which of these lines of code will lead to a syntax error when executed?

1    """Hellooo!
2   prin(12
3   name ="Mel"
4   total = 12 +
5   prin(12)
6   text = """Helloooo!"

1,2,4,6

Which keys can you use to change a line of code into a comment?

Ctrl + ?

The question on the page originate from the summary of the following study material:

  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo