CodeAgeBy Sitezack
Python for BuildersPython basics0 XP
Chapter progress0/5

Lesson 4 of 5

Gluing text together

Text in Python is called a string. You can glue two strings together with +.

Careful: + only glues text with text — and remember the space between words!

firstname = "Lina"
print("Hi " + firstname)

🎯 Your mission

Create a variable hero with your hero's name (for example "Nova"), then print Bravo followed by the name, like: Bravo Nova

main.py
Loading editor…
Loading Python…

Output

Run your code to see the result here.