def get_number_rows(ai_settings,ship_height,alien_height):
    """determine the number of rows of aliens that fits on a screen"""
    available_space_y=(ai_settings.screen_height - (5 * alien_height)-ship_height)
    number_rows=int(available_space_y/(2 * alien_height))
    return number_rows