WeCodeAcademy
❮ list.index()list.copy() ❯

list.count()

Counts occurrences.

Group: List

Syntax

list.count(x)

Example

Examplepython
Open in editor »

← All of Python Reference