All lessons

Working with Text

7 min · Python

Join text together, measure it, and change its case.

Python · Working with Text0/5 cleared

Enemy 1 of 5

Text values are called strings — just characters inside quotes. You can join two strings with a plus sign. That joining is called concatenation.

Run this to glue a greeting and a name into one line.

You
Goblin Glitch

Loading editor...

Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: Hello, Ada