Facing Problem while appending elements In a list

Is that a question for e-yantra challenge?