Python List Operations

In this tutorial you will learn about the Python List Operations and its application with practical example.

Python List Operations

In Python, along with the operations like indexing, slicing and accessing, following operations can also be applied on Python list sequences.

Python List Concatenation

In Python, plus(+) operator can also be used to combine two lists.

Example:-

Output:-

Python List Repetition

In Python, * operator can also be used to combine two lists.

Example:-

Output:-

Python List Membership

In Python, in keyword can be used to check the existence of an item in a given list.

Example:-

Output:-

Python List Iteration

In Python, for-in statement makes it easy to loop over the items in a given list.

Example:-

Output:-

Recommended:-  Python Constructor
In this tutorial we have learn about the Python List Operations and its application with practical example. I hope you will like this tutorial.