Python学习【第4篇】:元组魔法
摘要:
template = "i am {name},age:{age}" v = template.format(**{"name":'xiaoxing',"age":19}) print(v) (111, 'xiaoxing', (11, 22), [(33, 44)], 45)111(111, 'x 阅读全文
posted @ 2018-05-19 16:54 小星1995 阅读(191) 评论(0) 推荐(0) 编辑