摘要: 1、转换 将字符串s = "alex"转换成列表 s = "alex" s_list = list(s) print(s_list) 将字符串s = "alex"转换成元祖 s = "alex" s_tuple = tuple(s) print(s_tuple) 将列表li = ["alex", " 阅读全文
posted @ 2021-05-26 20:48 python学习者0 阅读(796) 评论(0) 推荐(0) 编辑