You are viewing a single comment's thread. Return to all comments →
def marsExploration(s): count = 0 segments = re.findall(r'...', s) print(segments) for i in segments: for j, l in enumerate('SOS'): if l != i[j]: 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 →