You are viewing a single comment's thread. Return to all comments →
def marsExploration(s): output = 0 for i in range(len(s)//3): output += sum(c1!=c2 for c1, c2 in zip(s[3*i: 3 + (3*i)],"SOS")) return output
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 →