Based on your description of countries that have a desert climate in some of their territory, the following African countries apply:
B. Egypt (home to parts of the Sahara Desert) E. South Africa (has areas of semi-desert in the west) F. Sudan (also part of the Sahara Desert)
Therefore, the countries with a desert climate in some of their territory are B, E, and F.