Learn Before
Relation

Common Sequence Operations on Lists

The various sequence operations on lists in ascending priority are listed below.

  • in
  • not in
  • "+"
  • "*"
  • indexing i th item of a list
  • slicing the list from i to j  ( i and j are integers )
  • slicing with a step
  • len() ( length of a list which is passed as the argument of the function len() )
  • min() ( smallest item in the list )
  • max() ( largest item in the list )
  • index of an element in the list at or after an index and before another index
  • count ( total number of occurrences of a particular element in the list )

0

0

Updated 2021-05-05

Tags

Python Programming Language

Data Science