Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#Use "d" to convert a number, in this case a binary number, into decimal number format: txt = "We have {:d} chickens." print(txt.format(0b101))
We have 5 chickens.