Skip to content

First programs · warm-up

Fix the broken program

This program is meant to read a name and print Welcome, followed by the name. It does not even start.

Press Run, read the error — which line, and what Python expected — and fix it. There are two mistakes.

Stuck on the idea rather than the code? The Reading an error lesson walks through it.