Onlookers fed a dead pigeon to a snake when they found it slithering across a pavement in east London.