8
dan.garthwaite
2 13
240/ 345
Dan Garthwaite
Last seen 8 years ago
Member for 10 years, 7 months, 20 days
Difficulty Normal
Best reviews / Newest reviews
First-LuigiMoro 2
Import re AND have two problems. But I'm impressed. More
First-ValentinaMaldonado 1
Almot identicle to my solution. I used: if c == "0": continue Not sure which is "better". More
First-hobgoblin
I like straight forward solutions. More
First-LexCavalera
This is where my brain first went. Fix the inputs, then grind out the result. More
First-korovian
Fix the inputs, then grind out the result. Exactly how I wanted to approach it. More
First-cmchao
I also thought you have to slice the "0b" prefix off. But "0" and "b" are never "1". More
First-magdre
This is a surprising solution. You used slices instead of queue operations for the result, and used .pop() on the incoming command set. More
Simple-vbnn1
Could exploit list truthiness instead of checking its length: elif command == "POP" and array: More