摘要: # tpl='i am {},age{},{}'.format('火虎',32,'alex')# print(tpl)# 输出:i am 火虎,age32,alex 不一一对应则报错# tpl='i am {1},age{2},{0}'.format('火虎',32,'alex')# print(t 阅读全文
posted @ 2018-10-13 16:51 火虎true(false) 阅读(372) 评论(0) 推荐(0)