Google interview question

Letter template, replace the between the {example} by using any method

Interview Answer

Anonymous

4 Sept 2018

I looped through the letter, and used a dictionary