# languages list languages = ['French', 'English'] # another list of language languages1 = ['Spanish', 'Portuguese'] # appending language1 elements to language languages.extend(languages1) print('Languages List:', languages)
Here is what the above code is Doing:
1. We created a list of languages.
2. We created another list of languages.
3. We used the extend() method to append the elements of the list languages1 to the list languages.
4. We printed the list languages.