Africa is a continent and does not have a single government. There are 54 countries in Africa, plus Western Sahara who's status is under dispute. The forms of government in these countries range from democracies to monarchies and dictatorships. Military coups have been fairly common in Africa. Insurgencies and counter-insurgencies are a regular phenomenon. Politically it has not been a very stable continent for decades.
Chad, Equatorial Guinea, Zambia, Mauritania, Niger and Malawi have constitutional monarchies. Zimbabwe is effectively a democracy but run since independence by a single individual, President Robert Mugabe. Libya is in a state of chaos with the fall of the Gadhafi regime. Egypt is in the hands of a military regime.
One of the wealthiest countries in Africa is the Republic of South Africa. It is situated on the southern tip of the African continent and has a democratic form of government.
The executive head of South Africa is the president who is the leader of the single biggest party winning the elections. The South African parliament has two houses, the National Assembly and the National Council of Provinces. The National Assembly has 400 members. Members of the National Council of Provinces come from the 9 provinces with each province providing 10 members each.
In South Africa, the judiciary is independent of the executive. The two apex courts are the Constitutional Court and the Supreme Court of Appeal.