Now am I saying women can't do this work? No. I am rather saying they don't want to do it. They sit down in the programming classes, notice it is not fun for them, and leave.
It is a choice.
Mods, please mod this up.
Everyone else, please read and understand this.
This has been exactly my experience since I my university days more than 25 years ago. Women 'can' do IT, they just don't like it, and leave.