摘要: Python的字符串格式化有两种方式: 百分号方式、format方式 Python的字符串格式化有两种方式: 百分号方式、format方式。 1、百分号方式(中括号内的参数是可选的。) %[(name)][flags][width].[precision]typecode (name) 用于选择指定 阅读全文
posted @ 2017-03-01 21:56 Jhon23 阅读(126) 评论(0) 推荐(0)