Country Primary Education (Years) Secondary Education (Years)
Botswana 6 3
Cameroon 6 4
Ethiopia 8 2
Ghana 6 3
Kenya 8 4
Malawi 8 4
Mozambique 7 3
Namibia 7 3
Nigeria 6 3
Rwanda 9 3
Senegal 6 3
South Africa 9 3
Tanzania 7 4
Uganda 6 4
Zambia 7 4
Zimbabwe 7 3
It is important to note that the length of compulsory schooling can change over time, and there may be variations within countries due to factors such as regional differences or the availability of educational resources.