See Python array for more information.
Create array with elements of given type. Initial contents of the array are given by an iterable. If it is not provided, an empty array is created. Supported format codes:
b
B
h
H
i
I
l
L
q
Q
f
d
Adapting the type code to the array-type you want to create can save a lot of space on the microcontroller.
Append new element to the end of array, growing it.
Append new elements as contained in an iterable to the end of array, growing it.