运行 ❯
拥有你自己的 Python 服务器
×
更改方向
更改主题,深色/浅色
前往 Spaces
#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))
温度在零下3度和7度之间。