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