Python手记
摘要:字符串的拼接 1.“+”,如果是字符和数字相连,要使用str()函数对于数字进行字符转化; 2.join() 3.",",链接的两个字符串之间用空格做关联 4.占位符 tmp +=1 #print 'r'%tmp print("row num is: %s"%(tmp)) print('value
阅读全文
posted @ 2017-08-19 22:03
posted @ 2017-08-19 22:03
posted @ 2017-01-15 23:18
posted @ 2016-11-03 23:18