An error that breaks the grammar rules of Python, such as a missing bracket, is a:

  1. logical error
  2. syntax error
  3. runtime error
  4. hardware error
Answer

B) syntax error

Syntax errors are found before the program runs. SLO CS-11-C-07

Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise