Can you tell whats wrong with my delete function?

hello @akash_281
check now