Append addadds the entire data at once. The whole data will be added to the newly created index. On the other hand Extend, extend, as it name suggests, extends the current array.
for
For example
list1 = [123, 456, 678]
list2 = [111, 222]
when appendWith append we get:
result = [123, 456, 678, [111, 222]]
whileWhile on extendextend we get:
result = [123, 456, 678, 111, 222]