When you were in school, would girls regularly be let off the hook much more than boys, and given smaller punishments?

It was definitely the case in my school and was wondering if you had any examples to tell.

I was once about 5 minutes late for a lesson, got shouted at and a detention. Girl comes in 10 minutes late, no valid excuse given, and gets off clean, teacher just says, "Don't let it happen again." She was late every lesson. I was rarely late.

Thanks, have a great day!