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