Home >Backend Development >Python Tutorial >What does append in python mean?

What does append in python mean?

藏色散人
藏色散人Original
2019-06-27 14:34:0225273browse

What does append in python mean?

What does append in python mean?

Python's append() method is used to add new objects at the end of the list.

append() method syntax:

list.append(obj)

Parameters

obj -- The object added to the end of the list.

Return value

This method has no return value, but it will modify the original list.

Note:

Python is a general-purpose computer programming language. Python is a very beneficial tool for programmers, allowing you to quickly Write code and have it run really fast. Python has a very simple and clear syntax, is suitable for completing various high-level tasks, and can run on almost all operating systems.

Related recommendations: "Python Tutorial"

The above is the detailed content of What does append in python mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn