运行 ❯
拥有你自己的 Python 服务器
×
更改方向
更改主题,深色/浅色
前往 Spaces
#To demonstrate, we insert the number 8 to specify the available space for the value. #Use "=" to place the plus/minus sign at the left most position: txt = f"The temperature is {-5:=8} degrees celsius." print(txt)
温度是 -5 度。