WeCodeAcademy
❮ set.difference()list comprehension ❯

f-string

A string with expressions inside braces.

Group: Syntax

Syntax

f"{expression}"

Example

Examplepython
Open in editor »

← All of Python Reference