If the height of a girl is 4 feet and the height of a basketball rim above the floor is 10 feet, the height of the girl is what fraction of the height of the basketball rim above the floor?

The height of the girl is $\frac{4}{10} = \boxed{\frac{2}{5}}$ of the height of the basketball rim.