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