How To append elements from another list to the current list, use the extend() method In Python

preview_player
Показать описание
Extend List
To append elements from another list to the current list, use the extend() method.

Example
Add the elements of tropical to thislist:

thislist = ["apple", "banana", "cherry"]
tropical = ["mango", "pineapple", "papaya"]
print(thislist)
Рекомендации по теме