You are viewing a single comment's thread. Return to all comments →
def marsExploration(s): c=0 for i in range(0,len(s)//3): if s[0+3*i]!='S': c+=1 if s[1+3*i]!='O': c+=1 if s[2+3*i]!='S': c+=1 return c
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 →