There are plenty of girls or boys only schools.

I never managed to have only girl or boy friends, though. I was very much a mingler.