Learning Through Trail and Error