Задание

Fill in the gap with the appropriate verb form in the past simple tense or the past continuous tense.
I didn't play the pi­ano yesterday. I ... \(to write\) a letter to my friend.