執行 ❯
擁有你自己的 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 度。