string formating in python for different numeric literals

后端 未结 0 1964
北恋
北恋 2021-02-04 12:17

when we format number literals (hex,oct, binary),the letters (0x,0o,0b) will always lead the digits. for example, as in the following: 0o100, 0x40, 0b1000000. for string formatt

相关标签:
回答
  • 消灭零回复
提交回复
热议问题