Please read the pinned thread and show code as properly formatted, copied and pasted text. Also, we can only possibly talk about the part of the code that is actually shown to us: in order to understand what went wrong with using the append method, we need to see the code that has append in it.