You are viewing a single comment's thread. Return to all comments →
#Python def gameOfThrones(s): y=[] for i in set(s): x=s.count(i) y.append(x) x=y.copy() for i in y: if i%2==0: x.remove(i) if len(x)==1 or len(x)==0: return "YES" return "NO"
Seems like cookies are disabled on this browser, please enable them to open this website
Game of Thrones - I
You are viewing a single comment's thread. Return to all comments →