Tambahkan elemen ke daftar python menggunakan metode extand ()

# Python program to demonstrate
# Addition of elements in a List
   
# Creating a List
List = [1,2,3,4]
print("Initial List: ")
print(List)
 
# Addition of multiple elements
# to the List at the end
# (using Extend Method)
List.extend([8, 'Softhunt', 'Tutorials'])
print("\nList after performing Extend Operation: ")
print(List)
Outrageous Ostrich