A selection of the week's best photos from across the continent and beyond:
Reuters
Cameroonian football fans dress up in their finest as the Indomitable Lions take on Switzerland on Thursday at the World Cup in Qatar, their team though go on to lose 1-0...
Reuters
Tunisia hold off Denmark and secure a 0-0 draw as this family of fans take in the action on Tuesday...
Reuters
Ghana's Black Stars arrive in the Qatari capital, Doha, in style on Friday...
AFP
The competition kicks off on Sunday and these children in the Kenyan capital, Nairobi, enjoy the action at a public screening.
EPA
On Monday, a desperate resident of a township in the South African city of Cape Town tries to douse the flames that are damaging his home.
EPA
Uganda's President Yoweri Museveni is welcomed in Vietnam as he flies into Hanoi on Thursday on a trip to improve ties with the country.
AFP
A photographer snaps a new graduate who became a member of South Sudan's army at a ceremony in Malakal on Monday...
AFP
New recruits are welcomed into the police force at the same time.
Reuters
King Charles III makes South Africa's President Cyril Ramaphosa laugh on Tuesday as he hosts a state banquet in his honour - the first of his reign.
EPA
On the same day in Angola's capital, Luanda, fans of kuduro musician Nagrelha hold a procession in his honour following his untimely death from lung cancer.
AFP
People in Goma in the east of the Democratic Republic of Congo practice group yoga stretches in a square on Sunday.
EPA
Shortly before Zimbabwe's President Emmerson Mnangagwa arrives at the country's new parliament on Wednesday a soldier adjusts a comrade's uniform to make sure everything is perfect.
Reuters
On Friday, a woman in the Egyptian capital, Cairo, rides a bicycle that is being loaned out as part of a project to encourage a cleaner environment.