Show HN: Assessment based two hour python coaching
extremepython.com
extremepython.com
class Lamp
^
SyntaxError: invalid syntax
The first part of the question is 'Will this program run without any errors?'.Your answer says 'Both statements will be printed successfully.', but that is incorrect! Lexing will fail due to the syntax error, so the program won't run at all.