Differentiate between append() and extend() functions of list.
The append() function adds a single element passed as an argument at the end of the list. If a list is passed as an argument, it is added as a single element, resulting in a nested list. For example, list1.append([50,60]) adds the entire list as one item.
In contrast, the extend() function appends each element of the list passed as an argument to the end of the given list. It does not create a nested list but merges the elements individually. For instance, list1.extend(list2) adds the individual elements of list2 to list1 sequentially.
Explanation
The answer is derived directly from the comparison table provided in the context. The table defines append() as a function that takes a single element (which can be a list) and adds it to the end, whereas extend() takes a list and appends each of its elements to the original list.