WeCodeAcademy
❮ str.zfill()list.extend() ❯

list.append()

Adds an item to the end.

Group: List

Syntax

list.append(x)

Example

Examplepython
Open in editor »

← All of Python Reference