Greet a name
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version.
This one builds on a lesson you haven't finished yet. Do that lesson first:
Python Basics · Working with strings →
Greet a name
Join fixed text with a variable: "Hi " + name.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Put Sam in name, then show Hi Sam with "Hi " + name.
Click Run to see the output here.