← All lessons

Errors are a hint

Sign in · Sign up

Lesson 0.1

Red text is not a verdict — it's a hint. Python writes the last line to tell you exactly what it didn't understand.

The code below is broken: it's missing a closing bracket.

print("Hello"

Fix it so the program prints Hello.

Tip: change one thing at a time and run it again.

Hint

A SyntaxError means Python didn't understand the writing, not the meaning.

print always has two brackets: an opening ( and a closing ). Compare your line with print(), which has both.