There are 6 countries in Africa that have tram systems, or had them in the past. The countries are listed below and link through to individual pages that give details of cities in that country with tram systems.
Algeria Egypt Ethiopia Morocco Nigeria Tunisia