Which country is Nairobi the capital of?

Nairobi is the capital of Kenya, a country in Africa.
Nairobi is the capital of Kenya

Nairobi does not have a capital, Nairobi is the capital city of Kenya.