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