data from array python code example Example: arrays python array = [1, 2, 3, 4] array.append(5) for i in array: print(i)