There are many ways to declare Array in Python some of them are as follows:-
abc = []
Here, abc refers to an empty list.
It is an assignment, not a declaration. We know Python is dynamically typed so there is no way that we can say that this variable will never refer to anything other than a list. In Python, the default built-in type is called a list, not an array.
Another way to create an array in Python is to use the following method :
from array import array
intarray = array('i')