python append elements of array to list code example
Example 1: add to python list
array.append(element)
Example 2: extend in list python
subjects=["Maths","Science","Arts","Commerce"]
subjects_2=["Artificial intelligence","Statistics"]
subjects.extend(subjects_2)
print(subjects) ## used to add more elements from other list