How do you differentiate between append() and extend()?

append() adds an element to the end of the list

Example

extend() adds elements from an iterable to the end of the list

Example