def get_number_rows(settings, star_height):
    """Determine the number of rows of stars that fit on the screen."""
    avaiable_space_y = (settings.screen_height - star_height)
    number_rows = int(avaiable_space_y / (2 * star_height))
    return number_rows