You are viewing a single comment's thread. Return to all comments →
Nice!! With mine you need less memory, tho ;)
print(sum([c != "SOS"[i % 3] for i, c in enumerate(S)]))
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 →
Nice!! With mine you need less memory, tho ;)