how to define array type in python code example Example: python declare variable type array a :[str] = [] a.append("abc") a.append("123") print(a)