W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_string_placeholder_5.py:
#Use "+" to always indicate if the number is positive or negative: txt = "The temperature is between {:+} and {:+} degrees celsius." print(txt.format(-3, 7))