A selection of the week’s best photos from across the continent and beyond:
EMMANUEL CROSET/AFP
Children take turns on a trampoline in the outskirts of Johannesburg, South Africa, on Saturday.
NIPAH DENNIS/AFP
The day before in Ghana, members of Algeria’s delegation wait on the sidelines for the African Games opening ceremony.
MOHAMED ELSHAHED/GETTY IMAGES
Also on Friday, this boy has fun with chrysanthemums during the harvest in northern Egypt.
AFP
Supporters of Chad’s Prime Minister, Succès Masra, fling flags into the air at a rally for his newly announced presidential bid.
PHILL MAGAKOE/AFP
Members of Fire Tabernacle Prophetic Ministry’s choir sing for South Africa’s President Cyril Ramaphosa on Sunday.
ALIAH ANDERSON/GETTY IMAGES
Barbie Kyagulanyi and her husband Robert – better known as Bobi Wine – walk the Oscars red carpet on Sunday. He features in a film that was nominated in the documentary category.
PATRICK T FALLON/AFP
Later that day, Lupita Nyong’o presented fan favourite Da’Vine Joy Randolph with the award for Best Supporting Actress.
FRANK HOENSCH/GETTY IMAGES
Ghanaian-American singer Amaarae, best known for her song Sad Girlz Luv Money, performs in Germany the previous day.
CHRISTOPHER PIKE/GETTY IMAGES
Also on Saturday, Liberia’s former President Ellen Johnson Sirleaf is honoured with a Forbes Lifetime Achievement Award, in the United Arab Emirates.
DIVYAKANT SOLANKI/EPA
Miss Tanzania Halima Kopwe competes at the Miss World contest, also on Saturday.
JOHN WESSELS/AFP
Ramadan preparations are under way in Senegal on Sunday…
ESA ALEXANDER/REUTERS
The Muslim holy month officially begins with the sighting of a crescent moon – as seen here in Cape Town on Monday.
SAYED HASSAN/GETTY IMAGES
Kunafa – made from shredded pastry – is a popular Ramadan snack in Egypt.
ED JONES/AFP
On Sunday in the French city of Tolouse, Cameroon’s entries in the Chocolatine World Cup await crispy completion in the oven.
FEISAL OMAR/REUTERS
Cucumbers and fresh produce line this market in Mogadishu, Somalia, on Monday.
MEHMET EMIN YOGURTCUOGLU/getty
On the same day, this mountain gorilla enjoys a moment of peace and quiet in one of Uganda’s national parks.
ZOHRA BENSEMRA/REUTERS
Passengers travel by minibus on the outskirts of Senegal’s capital, Dakar, the day before.
ZOHRA BENSEMRA/REUTERS
Also in Dakar this T-shirt shows jailed opposition figurehead Ousmane Sonko and the man he picked to replace him as leader, Bassirou Diomaye Faye, who has himself been detained, ahead of next week’s election.
CARMEN ABD ALI/AFP
On Monday in Senegal’s capital city, the country’s first female presidential candidate – Anta Babacar Ngom – greets supporters.
MARVELLOUS DUROWAIYE/REUTERS
Shoemaker Ifunanya Ifwobu crafts loafers for her clients at her Lagos workshop on Friday.
FAYEZ NURELDINE/AFP
Cameroon’s Francis Ngannou blocks a blow from boxer Anthony Joshua at Saturday’s fight in Saudi Arabia, which was comfortably won by the British heavyweight.
EDWIN NDEKE/GETTY IMAGES
Members of the Africa Roho Msalaba church in Nairobi, Kenya, perform a ritual they call “throwing babies in the air”. Infants in this religious community are not to be seen by strangers until they are two years old – then they are paraded publicly and thrown skyward in celebration.
PHILIMON BULAWAYO/REUTERS
Tobacco marketing season has begun in Zimbabwe, where this man samples the produce on Wednesday.
KIM LUDBROOK/EPA
And on Saturday in Durban, South Africa, a surfer leaps into the ocean at sunrise.