pythong append list code example
Example 1: how to append list in python
list1 = ["hello"]
list1 = list1 + ["world"]
Example 2: append python
it=[]
for i in range(10):
it.append(i)
list1 = ["hello"]
list1 = list1 + ["world"]
it=[]
for i in range(10):
it.append(i)