摘要:
```python# 字符串串print(format('test', '20')) # 右对⻬齐print(format('test', '^20')) # 居中# 数值print(format(3, 'b')) # ⼆二进制print(format(97, 'c')) # 转换成unicode字符print(format(11, 'd')) # ⼗十进制print(format(11, 'o'... 阅读全文
posted @ 2020-05-01 00:16
博客萨斯州
阅读(244)
评论(0)
推荐(0)

浙公网安备 33010602011771号