You just did my good sir :) I love how this site lets you program just like you would program. Libraries are awesome tools thats what there for System.Numerics and System.Linq are my to most used C# libraries but it really depends an what you are coding too I guess. Nice job sir nice job ( assuming you are sir if not maam)
this is literally so hot
This comment is hidden because it contains spoiler information about the solution
wtf, nice
I really overcomplicated my code than it needed to be... This really helped me. Thx.
Love this! I've seen a similar version it in another kata, but totally forgot about it. Definitely doing this next time!
This comment is hidden because it contains spoiler information about the solution
if input consist only 1 odd and no even number, like '1'
count(0) == 0 < 1, n.index(0) will return a ValueError
Note to beginners: this solution is actually not best practice because it does mutate the input. But it's clever, yes.
You just did my good sir :) I love how this site lets you program just like you would program. Libraries are awesome tools thats what there for System.Numerics and System.Linq are my to most used C# libraries but it really depends an what you are coding too I guess. Nice job sir nice job ( assuming you are sir if not maam)