python code to print append list 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]