Your First f-string

Lab Python Beginner 10 points

Store "Python" in a variable language and 3 in version. Print them with an f-string as shown.

Input

None.

Output

I am learning Python 3

Example

Output

I am learning Python 3
Sample output available
Editor
Python

Hints

Put an f before the opening quote.

Variables go inside { } in an f-string.

Solution explanation

An f-string (f"...") replaces each {expression} with its value.

Show solution
language = "Python"
version = 3
print(f"I am learning {language} {version}")
Output
Answer
HOME LEARN COMMUNITY DASHBOARD