South Africa is the country in Africa that has no legally defined capital city. The fourth chapter of the Constitution of South Africa, states that "The seat of Parliament is Cape Town, but an Act of Parliament enacted in accordance with section 76 and may determine that the seat of Parliament is elsewhere."

The country's three branches of government are split over different cities. Cape Town, as the seat of Parliament, is the legislative capital; Pretoria, as the seat of the President and Cabinet, is the administrative capital; and Bloemfontein, as the seat of the Supreme Court of Appeal, is the judicial capital, while the Constitutional Court of South Africa sits in Johannesburg.

Also, most foreign embassies are located in Pretoria, South Africa. Accordingly, it has still been said that instead of having no capital city, South Africa is a country with at least three capital cities.

More Info: en.wikipedia.org