W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_string_placeholder_11.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))