list.extend() python code example
Example: list.extend
# languages list
languages = ['French', 'English']
# another list of language
languages1 = ['Spanish', 'Portuguese']
# appending language1 elements to language
languages.extend(languages1)
print('Languages List:', languages)