str = "this is a demo str" #错误写法:strlist = str.split("") strlist = str.split(" ") print(strlist)