A sentence from an age and a year
Write code · Basic · §2.5 f-strings
Using the variables that hold an age and the current year, print the sentence I am 20 years old, and the current year is 2026. Use an f-string.
Starter code
age = 20
year = 2026Solve this problem in your browser
Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.