add data in python code example
Example 1: add to python list
array.append(element)
Example 2: lsit append in python
List=[1,'a',"hello"]
List.append(True)
print(List)
# output: [1, 'a', 'hello', True]
array.append(element)
List=[1,'a',"hello"]
List.append(True)
print(List)
# output: [1, 'a', 'hello', True]