08 2014 档案

摘要:python中有很多字符串连接方式,今天在写代码,顺便总结一下:最原始的字符串连接方式:str1 + str2python 新字符串连接语法:str1, str2奇怪的字符串方式:str1 str2% 连接字符串:‘name:%s; sex: ’ % ('tom', 'male')字符串列表连接:s... 阅读全文

posted @ 2014-08-20 20:21 tycoon3 阅读(29913) 评论(0) 推荐(2)

导航