英文单词hello中所有字母构成的集合是(h,e,l,l,o)这种说法对吗?
不对。。集合有互异性。只能算一个L
温馨提示:答案为网友推荐,仅供参考
第1个回答 2013-09-21
不对,只能说是它够成集合的一个子集
相似回答
大神们,在python里。 input=“hello”如何让output=[h,e,l,l,o]?答:def cut_text(text,lenth): textArr = re.findall('.{'+str(lenth)+'}', text) textArr.append(text[(len(textArr)*lenth):]) return textArr print(cut_text('hello',1)) [h,e,l,l,o]望采纳~~~