python格式化字符串

1.%s

2.format

3.print(f'sum:{num}')

posted @ 2019-09-17 15:09  强仔必胜  阅读(104)  评论(0编辑  收藏  举报