Run ❯
Get your
own Python
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#To demonstrate, we insert the number 8 to set the available space for the value to 8 characters. #Use "<" to left-align the value: txt = "We have {:<8} chickens." print(txt.format(49))
We have 49 chickens.