- Basic Concepts
- Python array is an ordered collection of elements of any data type
- Array index starts from 0 to len(array)-1
- No fixed maximum length limit exists in Python arrays
- Finding Length
- len() function returns number of elements in an object
- Numpy module provides shape attribute for array length calculation
- 2D arrays have length calculated by multiplying rows and columns
- 3D arrays have length calculated by multiplying each layer
- Advanced Features
- Arrays can be declared with specific length using * operator
- Length can be checked using if statement
- For loop can be used with len() for element iteration
- Large lists can consume significant memory, affecting system performance