摘要:
1.字符串转换成列表 str='Lara1798' print(list(str)) # 运行结果:['L', 'a', 'r', 'a', '1', '7', '9', '8'] 2.列表转换成字符串 #join函数 alist=['name','age','18'] print(''.join( 阅读全文
posted @ 2021-07-28 20:22
Python探索牛
阅读(217)
评论(0)
推荐(0)
浙公网安备 33010602011771号