push element array python code example Example: append item to array python data = [] data.append("Item") print(data)