运行 ❯
获取您自己的
Python
服务器
×
更改方向
更改主题,深色/浅色
转到 Spaces
#Use " " (a space) to insert a space before positive numbers and a minus sign before negative numbers: txt = f"The temperature is between {-3: } and {7: } degrees celsius." print(txt)
气温在 -3 到 7 摄氏度之间。