There are currently 25 English-speaking countries in Africa. The majority of the countries that speak English on the continent were former British colonies, while others adopted the language despite not being colonized by Britain, or colonized at all, like Ethiopia.
Ethiopia is English-speaking but was never colonized. Additionally, Eritrea, Burundi, and Rwanda are English-speaking countries despite being colonized by Italy and Belgium. Furthermore, Sierra Leone and Liberia speak English as a primary dialect because they are countries that were established by freed slaves. Cameroon is both English-speaking and French-speaking due to the fact both France and Britain colonized the country simultaneously. Egypt is a particularly exceptional case. English is neither an official language nor a part of the official languages. Arabic and Egyptian Arabic are the official and recognized languages in Egypt yet quite a sizeable number of the Egyptian population speak English.