Python List append() Method

0

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)


 

 

 

Post a Comment

0Comments
Post a Comment (0)