Answer the following Q with stream of consciousness. South Africa, officially the Republic of South Africa (RSA), is the southernmost country in Africa. It is bounded on the south by 2,798 kilometres (1,739 mi) of coastline of Southern Africa stretching along the South Atlantic and Indian Oceans; on the north by the neighbouring countries of Namibia, Botswana, and Zimbabwe; and on the east and northeast by Mozambique and Swaziland; and surrounds the kingdom of Lesotho. South Africa is the largest country in Southern Africa and the 25th-largest country in the world by land area and, with close to 56 million people, is the world's 24th-most populous nation. It is the southernmost country on the mainland of the Old World or the Eastern Hemisphere. About 80 percent of South Africans are of Sub-Saharan African ancestry, divided among a variety of ethnic groups speaking different African languages, nine of which have official status. The remaining population consists of Africa's largest communities of European (white), Asian (Indian), and multiracial (coloured) ancestry.\n\nAnswer this question: is south africa a continent or a country?
User
The relevant information is: South Africa, officially the Republic of South Africa (RSA), is the southernmost country in Africa. Therefore, the final answer is country.
Assistant