W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_string_placeholder_7.py:
#Use " " (a space) to insert a space before positive numbers and a minus sign before negative numbers: txt = "The temperature is between {: } and {: } degrees celsius." print(txt.format(-3, 7))