Home
Tracks
Reset
Help
Theebug — Learn Python by Doing
Light
Explorer
···
▼
THEEBUG
lesson1.py
lesson2.py
lesson3.py
lesson4.py
lesson5.py
lesson6.py
lesson7.py
lesson8.py
lesson9.py
Completed
0/9
Score
0
PY
lesson8.py
×
THEEBUG
›
lesson8.py
1
name
=
"Ada"
2
age
=
30
3
bio
=
f
"{name} is
______
years
old
"
4
print
(
bio
)
TERMINAL
PROBLEMS
OUTPUT
DEBUG CONSOLE
⊕
⋮
$
[system] Theebug ready. Happy coding!
Code Blocks
Drag blocks into the drop zones above
4 blocks available
{
age
}
age
$
{
age
}
(
age
)
Game Panel
0:00
0 pts
Level 8 of 9
f-strings
0/1 slots correct
Objective
Complete the f-string to interpolate the age variable
Expected Output
"Ada is 30 years old"
Debug says:
f-strings use curly braces to embed a variable directly into a string. Which block correctly interpolates age?
Debug the Worm