Females also have the same no. of chromosomes that is 24.
But the 24th chromosome in both male and female is different.
Males have x and y chromosomes. while females have x and x.
The 24th chromosomes are gender chromosomes which determine the gender of the offspring.