Please, see the following documentation:
The main difference is that append adds only one item to the end of the list, while extend adds any iterable, which could be a single element or another list, etc.
In other words, if you want to add only one item to a list (in a single instruction), you can use either of them, but if you want to add multiple, only extend() will work.