Python Compiler : Python

#Use "-" to always indicate if the number is negative (positive numbers are displayed without any sign): txt = "The temperature is between {:-} and {:-} degrees celsius." print(txt.format(-2, 6))