1 #!/usr/bin/env python 2 li = ["alex",‘sb‘] 3 l1 = "_".join(li) 4 print(l1) 5 print(id(li))
join(添加字符)与id显示
原文:http://www.cnblogs.com/shiluoliming/p/6215649.html