Result Size: 625 x 571
demo_string_placeholder5.py:
x
 
#Use "+" to always indicate if the number is positive or negative:
txt = "The temperature is between {:+} and {:+} degrees celsius."
print(txt.format(-3, 7))
C:\Users\My Name>python demo_string_placeholder5.py
The temperature is between -3 and +7 degrees celsius.