Robot crocodiles played a key part in an education fun day at a Maida Vale primary school, as children were taught how to code computer programmes.

Nearly 240 children from St Saviours Primary School, Shirland Road, used special Raspberry Pi computers to programme the Lego robots’ movements.

It was their first chance to write computer coding, something that may become a core part of the curriculum in years to come.

The activities were part of a day long event called Little House of Fairy Tales, which encourages the children to be creative.

Co-founder Nick Corston who has sons in year 3 and 5 said: “As a parent, I know too well how parents worry about their children spending too much time playing what seem to be mindless computer games.

“Here we’re teaching them to spend their time on computers constructively and, most importantly, creatively.”