Which one of these is on the coast Cairo Johannesburg Tripoli Sarajevo Nairobi Khartoum?
The correct answer is Tripoli.
Tripoli is the capital and largest city of Libya, located in the northwestern part of the country on the Mediterranean Sea. Cairo, Johannesburg, Sarajevo, Nairobi, and Khartoum are all inland cities.