HomeTracks
Explorer···
THEEBUG
Completed0/9
Score0
PYlesson8.py×
THEEBUGlesson8.py
1
name = "Ada"
2
age = 30
3
bio = f"{name} is ______ years old"
4
print(bio)
$[system] Theebug ready. Happy coding!
Code BlocksDrag blocks into the drop zones above
4 blocks available
{age}
age
${age}
(age)
Game Panel
0:000 pts
Level 8 of 9f-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