Definition: Given an entity, a before event, an after event, and an attribute related to the entity, generate a sentence as output. Your sentence should show the changes in the attribute of the entity.
Input: entity: code 
before: orange, blue, yellow(2), orange, blue, yellow 
after: blue, orange(2), blue, orange(2), blue, orange(2), blue 
attr: change

change of code was orange, blue, yellow(2), orange, blue, yellow before, and blue, orange(2), blue, orange(2), blue, orange(2), blue afterwards.