To find the difference between the median heights of the boys' and girls' basketball teams, we first need to calculate the medians for each team.
Boys' Heights: The boys' heights are: 78, 73, 75, 70, 72, 71, 73, and 76.
First, let's arrange these heights in ascending order: 70, 71, 72, 73, 73, 75, 76, 78.
Since there are 8 heights (an even number), the median is the average of the two middle numbers. The two middle numbers (the 4th and 5th heights) are: 73 and 73.
The median for the boys is: \[ \text{Median (boys)} = \frac{73 + 73}{2} = 73. \]
Girls' Heights: The girls' heights are: 72, 68, 66, 68, 66, 65, and 70.
Arranging these heights in ascending order: 65, 66, 66, 68, 68, 70, 72.
Since there are 7 heights (an odd number), the median is the middle number, which is: \[ \text{Median (girls)} = 68 \text{ (the 4th number)}. \]
Difference Between Medians: Now we calculate the difference between the medians: \[ \text{Difference} = 73 - 68 = 5. \]
Therefore, the difference between the median boys’ height and the median girls’ height is: \[ \boxed{5 \text{ in.}} \]