In my experiences with dozens of species and hundreds of snakes over decades I would say there is no connection between temperament, gender and age.
I've had hatchlings including corns that were very passive to aggressive.
My adult male and female leucistic pines, scale-less rats and beauty snakes have flip flopped on which is going to be super sweet or pure evil from time to time.
Back when the only ball pythons were imports they would come in either super passive to continual strikers. My daughters pet import adult female BP was easily handled by anybody and never showed any aggression but when a friend asked to hold her she struck and bit him. Funny that he was asking if she had ever bit as he reached out to take her. On the other side my male adult WC texas bull snake would do his best rattler impression at any attempt to hold him. One day after a bit of work I got him out to clean his cage My friend and his daughter was over at the time. She asked to hold him as she reached for him. I said no but Tex immediately calmed down and she took him. They interacted like they were meant to be with each other.
Over time I've have come to the opinion that any age or gender snake can be nice or naughty