Bill Cosby was also a regular on the children's television series The Electric Company during the show's first two seasons.