No wait I'm recalling the wrong thing. This one is a bit easier than the one I was recalling. I can give you the other problem later if you would like. Is Mr. Xcoder working on the fraction one right now?
Well the one I had in mind was to simplify a square root, but that's a bit more complicated (Leaky had a bit of trouble with it at first so it'll probably take a bit longer)
@HyperNeutrino for all the string ones, I'm getting 1 byte over what they say is the min. Do you know how I can remove them? It seems that its with the ”# that a byte can be removed
Hint: You need to get the lists into the right shape. There's a dyad that shapes a list to match the "form" of another list. That is one of the two atoms you need. The other is a monad. I'm afraid I won't give you the solution, but I can give you hints. You can come back to this later.
def distinct_sieve(array):
array = iterable(array, make_digits = True)
result = []
for (i, x) in enumerate(array):
result.append(1 if i == array.index(x) else 0)
return result