問題:輸出應爲l正常數組或列表,但輸出爲<map>格式
<map object at 0x000001EE419ED898>
map(frozenset,C1)
#改爲
list(map(frozenset,C1))
>>> type(C1)
<class 'list'>
問題:
#if not ssCnt.has_key(can): # python3 can not support
if not can in ssCnt:
問題: retList.append(Lk(i)| Lk[j]) TypeError: 'list' object is not callable
retList.append(Lk(i)| Lk[j])
#retList.append(Lk[i] | Lk[j])