how to add an item to an array in python code example Example: append item to array python data = [] data.append("Item") print(data)