I am currently having a bug with my code, and I need help fixing it. Basically, when I try and append something to a list, it only works for certain arguments.
Here i