摘要: #通过位置 print '{0},{1}'.format('chuhao',20) print '{},{}'.format('chuhao',20) print '{1},{0},{1}'.format('chuhao',20) #通过关键字参数 print '{name},{age}'.format(age=18,name='chuhao') class Pe... 阅读全文
posted @ 2017-11-07 15:47 米兰的小铁將 阅读(285) 评论(0) 推荐(0)