You are viewing a single comment's thread. Return to all comments →
Here is my one line Python solution!
def marsExploration(s): return len([True for letter in range(len(s)) if s[letter] != ["S", "O", "S"][letter % 3]])
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 →
Here is my one line Python solution!