datalist.append python code example
Example 1: append python
list.append(item)
Example 2: lsit append in python
List=[1,'a',"hello"]
List.append(True)
print(List)
# output: [1, 'a', 'hello', True]
list.append(item)
List=[1,'a',"hello"]
List.append(True)
print(List)
# output: [1, 'a', 'hello', True]