You can tell males and females apart by their genital openings. Males have theirs behind the navel, while females have theirs just before the anus.