執行 ❯
擁有你自己的 Python 伺服器
×
更改方向
更改主題,深色/淺色
前往 Spaces
#To demonstrate, we insert the number 8 to set the available space for the value to 8 characters. #Use ">" to right-align the value: txt = f"We have {49:>8} chickens." print(txt)
我們有 49 只雞。