摘要: 入门书地址 三引号 (""" 或 ''') 来指定多行字符串字符串是不可变的输出小数点后三位 print('{0:.3f}'.format(1 / 3))输出字符串长度为 11 print('{0:_^11}'.format('hello')) ___hello___print 默认以 '\n' 结 阅读全文
posted @ 2018-09-14 20:50 谁知道你啊啊啊 阅读(484) 评论(0) 推荐(0) 编辑