2017年11月2日

python:格式化输出 str.format()

摘要: 官网说明:https://docs.python.org/2/library/string.html#formatstrings python的格式输出有两种方法: 1.“ %s”.(variant) 2."输出格式".format(输出内容) 一。“%s”.(variant) 二。"输出格式".f 阅读全文

posted @ 2017-11-02 15:39 青萍,你好 阅读(693) 评论(0) 推荐(0) 编辑

导航