Lesotho
There are two landlocked countries in Africa that share borders with only one other country. They are Lesotho, which is completely surrounded by South Africa, and Eswatini (formerly Swaziland), which is bordered by South Africa and Mozambique.
Only one: Lesotho. Lesotho is entirely surrounded by South Africa and is one of the the only three countries to be entirely surrounded by another country. The other two are San Marino and Vatican City, entirely surrounded by Italy.
There are only 2 landlocked countries within the borders of South Africa, one is Swaziland, the other is Lesotho
Portugal is a European country that borders only one other country, Spain.
Lesotho
There are 3, actually. Vatican and San Marino, both inside Italy, and Lesotho, surrounded by South Africa. That excludes countries that have access to the sea, like Monaco and Gambia.
Denmark borders only one country.
Actually, Africa is a continent. So, there are a lot of countries in Africa. But Africa is surrounded by oceans, so there is only one little point where Egypt crosses into Asia and in Asia it touches Israel and Saudi Arabia. But that point of touching is not actually in Africa, its in Asia, so the answer is that Africa shares no borders with any other country or continent.
gambia
lesotho
Bathhurst is the capital of Gambia which only borders Senegal.