# imports
# variables
world = '🌍🌎🌏'
python = 'Python 🐍'
fire = '🔥'
# Function definitions
# Put code to run under here
print(f'Hello {world}')
print(f'Welcome to {python}')
Project 1 — Step 4 of 16
⭐ Step 4 — Print another variable
➡️ Print the contents of the python variable too.
✏️ What to type
Add another print line under the first one:
print(f'Welcome to {python}')
# imports
# variables
world = '🌍🌎🌏'
python = 'Python 🐍'
fire = '🔥'
# Function definitions
# Put code to run under here
print(f'Hello {world}')
Tap ▶ Run. You should see two lines now:
Hello 🌍🌎🌏
Welcome to Python 🐍
Adapted from Raspberry Pi Foundation — Hello World under CC BY-SA 4.0.