Facing Problem while appending elements In a list

The picture of the error up you posted literary says what’s wrong. There is no function defined in the module with that name that takes 1 argument. That is what the /1 means.
Without extra context (actual code) we cannot help you any further.

In the future please post the text of the errors and not a picture.