Lesson 5 of 34 · +80 xp

F-String

Inline interpolation.

Explained simply

Your task

Assign msg = f'Hello, {name}!'

fstring.py
▶ Output (python)
Click 'Run code' to execute your code in a real sandbox.
← Back