Notice that Python has string interpolation. Also a helper function would be adviced here.