I'm studying Python now, and sometimes a book says that if we have an list whose structure is, for example, a = [1,2,3,4,5], then we can use either
del a[0] or a.append[0].
I can understand the meaning of these functions but not the structure. Why can't I use instead
a.del[0] or append a[0]?
What is the difference or is there any rules or something?