Now, if there is a list, then what to you do is if there is no need list what you do is you make an list with only one node which is p. Now if there is a list, you can in order to append the node at the end, what you could do is call insert_after_node So, append will be the same as insert the node p at the end of the list.
आपण नोड p ऍड करणार आहोत परंतु लिस्ट मध्ये नोडच तर आपण टाकणारा नोड पहिला आणि शेवटचा असेल तेथे make_node फंक्शन कॉल होईल.