Mars Exploration

  • + 0 comments

    counter = 0 for i in range(0, len(s), 3): if s[i] !='S': counter+=1 if s[i+1] != 'O': counter+=1 if s[i+2] !='S': counter+=1 return counter