Python List append() Method

Python List append() Method

  • The append() method adds an item to the end of the list. 

  • The append() method adds a single item to the end of the list.

Syntax

  • list.append(element) 

Parameter Values

  • Element      :   Required. An element of any type (string, number, object etc.)

Return Values

  • No return type(None)


 

 

 

Comments