W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_string_placeholder_6.py:
#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(-3, 7))