摘要: 一、输出时进行转换数据类型 1.字符串转列表输出 str1 = 'This is love for you' str2 = '1,2,3' print(str1.split(" ")) print(str2.split(",")) 输出: ['This','is','love','for','you 阅读全文
posted @ 2022-02-22 21:44 冬天里的狐狸 阅读(44) 评论(0) 推荐(0) 编辑