10
Rudolph Lombaard
Last seen 7 years ago
Member for 8 years, 9 months, 20 days
Difficulty Normal
I'm a Systems Engineer working in the field of Electronic Warfare Solutions. My main interest are engineering, programming, problem solving, electronics, arduinos, raspberry pi's, Mounting biking.
Super compact, right to the point and Pythonic. Would've liked to see comments just to explain whats happening but on detailed inspection it can be figured out what is achieved in each line.
More
Good solution, for better clarity you could've used string.ascii_lowercase but that involves importing string.
More
Wow, amazing, must agree with @IWyf this is very Pythonic. Although I must also say it does take some time to read and dissect and understand what exactly the code does. But very cleverly done! @gyahun_dash was this your first solution to this mission?
More
I like the way you used the min/max ranges and the try to "filter" out the out of bounds calculations.
More
mmm, i did not go and do the math. But its a very good solution. I went performed a game-theory recursive algorithm. Python still amazes me as to the diversity of usage.
More
Wow! very nicely done, very Pythonic code. You really sticked to the keep it simple stupid principle.
More
That is what eval is for. Wow. Very creative. I agree with other comments. eval should e disallowed ;-)
More
I'll give you a good vote. Your solution might not be the simplest or most Pythonic but i like how you used the format and zip methods to solve this. At first i followed a similar approach first padding the integers in their binary format and comparing. But i abandoned that for the XOR approach. bit
More
Not advisable to remove an element from the existing list. Especially if the original list is used to iterate the for loop.
More