首页 > 代码库 > join(添加字符)与id显示

join(添加字符)与id显示

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

 

join(添加字符)与id显示