Session 3 labs and homework

Could you do this with a "template" and string formatting?