.format will let you do repr in the format string:  `"{0!r}".format(x)` is the same as `"{0}".format(repr(x))`