How Does Append Work In Python