You are viewing a single comment's thread. Return to all comments →
Python
count=0 word="SOS" for i in re.findall('...',s): if i==word: continue else: if i[0] != word[0]: count += 1 if i[1] != word[1]: count += 1 if i[2] != word[2]: count += 1 return count
Seems like cookies are disabled on this browser, please enable them to open this website
Mars Exploration
You are viewing a single comment's thread. Return to all comments →
Python