how to print an array in python code code example Example: python print an array a = [1,2,3,4,5] print(a)