Can u pls tell the codes for delete n and delete tail

can u pls tell the codes for delete n and delete tail .

hi @anshita_1312 refer