If your real goal is just to make a string that looks nice, try inserting a space in the template string before the formatted number:
>>> template = "The temperature is between {:d} and {:d} degrees celsius."
>>> print(template.format(-3, 7))
The temperature is between -3 and 7 degrees celsius.