join(添加字符)与id显示

1 #!/usr/bin/env python
2 li = ["alex",'sb']
3 l1 = "_".join(li)
4 print(l1)
5 print(id(li))

 

posted @ 2016-12-23 17:44  失落的黎明  阅读(350)  评论(0编辑  收藏  举报