摘要: #使用str.format()函数 #使用'{}'占位符 print('I\'m {},{}'.format('Hello','Welcome to my space!')) #也可以使用'{0}','{1}'形式的占位符 print('{0},I\'m {1},my E-mail is {2}'. 阅读全文
posted @ 2018-01-22 15:38 ldw3432 阅读(503) 评论(0) 推荐(0)