WeCodeAcademy
❮ str.count()str.isdigit() ❯

str.format()

Fills in placeholders.

Group: String

Syntax

"{}".format(x)

Example

Examplepython
Open in editor »

← All of Python Reference