►
Run
#take a list myList = ['apple', 'banana', 'cherry'] #another list anotherList = ['mango', 'grape'] #append elements in anotherList to myList myList.extend(anotherList) print(f'myList : {myList}')
Output