demo_string_placeholder12.py:
#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))
C:\Users\My Name>python demo_string_placeholder12.py
We have 5 chickens.