Cape Town is the capital of what country?

Cape Town is A capital city of South Africa; South Africa in fact has three capital cities of which Cape Town is only one. The other two cities are Pretoria and Bloemfontein.