← Back to Printing
Question 61
Years Old In An F-String
Years Old In An F-String
Print one sentence of output that says the declared name is the declared age years old, ending with a full stop, using a single f-string in which both variables sit inside curly braces. Input: none; the values are fixed in the code.
Expected Output:
Giselle is 21 years old.= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Printing
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.