July 12, 2017, 1:45 p.m. |
+2 |
Experience for voted comment Ledorub: 1 on eforselv: I think a more pythonic way is : return sorted(numbers_array, key=abs) Introducing new variables whe... |
July 12, 2017, 1:45 p.m. |
+5 |
Experience for appreciated comment Ledorub: 1 on eforselv: I think a more pythonic way is : return sorted(numbers_array, key=abs) Introducing new variables whe... |
Oct. 13, 2016, 1:39 p.m. |
+13 |
Experience for voted solution light_mushroom: 2 on Second-eforselv |
Oct. 13, 2016, 8:30 a.m. |
+5 |
Experience for appreciated comment sanuskaria: 1 on eforselv: A bit too complicated solution, but definitely creative :D Remember that python likes spaces between... |
Oct. 13, 2016, 8:30 a.m. |
+2 |
Experience for voted comment sanuskaria: 1 on eforselv: A bit too complicated solution, but definitely creative :D Remember that python likes spaces between... |
Oct. 13, 2016, 8:30 a.m. |
+5 |
Experience for appreciated comment Victor_Horbunkoff: 1 on eforselv: Use sum() with a list comprehension to dramatically reduce the complexity :) |
Oct. 13, 2016, 8:30 a.m. |
+2 |
Experience for voted comment Victor_Horbunkoff: 1 on eforselv: Use sum() with a list comprehension to dramatically reduce the complexity :) |
Oct. 10, 2016, 8:35 p.m. |
+2 |
Experience for voted comment hanpari: 1 on eforselv: +1 for creativity :D |
Oct. 10, 2016, 8:35 p.m. |
+5 |
Experience for appreciated comment hanpari: 1 on eforselv: +1 for creativity :D |
Oct. 9, 2016, 7:06 p.m. |
+2 |
Experience for voted solution rob.treharne: 1 on First-eforselv |
Oct. 7, 2016, 6:36 p.m. |
+13 |
Experience for voted solution maciejmoscicki: 2 on First-eforselv |
Oct. 6, 2016, 7:32 p.m. |
+5 |
Experience for appreciated comment danielmbicalho: 1 on eforselv: Look up "list comprehension" in python. Also, the loop in this case is not needed as you can just do... |
Oct. 6, 2016, 7:32 p.m. |
+2 |
Experience for voted comment danielmbicalho: 1 on eforselv: Look up "list comprehension" in python. Also, the loop in this case is not needed as you can just do... |
Oct. 6, 2016, 7:32 p.m. |
+5 |
Experience for appreciated comment danielmbicalho: 1 on eforselv: Cool. Make sure you also know the difference between a generator and a list. That helped me so much. |
Oct. 6, 2016, 7:32 p.m. |
+1 |
Experience for voted comment danielmbicalho: 1 on eforselv: Cool. Make sure you also know the difference between a generator and a list. That helped me so much. |
Oct. 6, 2016, 8:25 a.m. |
+5 |
Experience for appreciated comment Sandra_Svensson: 1 on eforselv: Using array slicing would make this simpler. The cool thing with array slicing is that it does bound... |
Oct. 6, 2016, 8:25 a.m. |
+1 |
Experience for voted comment Sandra_Svensson: 1 on eforselv: Using array slicing would make this simpler. The cool thing with array slicing is that it does bound... |
Oct. 6, 2016, 8:25 a.m. |
+5 |
Experience for appreciated comment Sandra_Svensson: 1 on eforselv: Nice and simple. I would be careful with introducing temporary variables when not needed. Extra vari... |
Oct. 6, 2016, 8:25 a.m. |
+1 |
Experience for voted comment Sandra_Svensson: 1 on eforselv: Nice and simple. I would be careful with introducing temporary variables when not needed. Extra vari... |
Oct. 6, 2016, 8:25 a.m. |
+5 |
Experience for appreciated comment Sandra_Svensson: 1 on eforselv: Pretty much perfect except that the more pythonic way is : return ",".join(phrases).replace('right',... |
Oct. 6, 2016, 8:25 a.m. |
+1 |
Experience for voted comment Sandra_Svensson: 1 on eforselv: Pretty much perfect except that the more pythonic way is : return ",".join(phrases).replace('right',... |
Oct. 6, 2016, 8:25 a.m. |
+1 |
Experience for voted comment Sandra_Svensson: 1 on eforselv: To be a nitpicker: Spaces around named function arguments normally don't have spaces around `=`. ret... |
Oct. 6, 2016, 8:25 a.m. |
+5 |
Experience for appreciated comment Sandra_Svensson: 1 on eforselv: To be a nitpicker: Spaces around named function arguments normally don't have spaces around `=`. ret... |
Oct. 6, 2016, 8:25 a.m. |
+1 |
Experience for voted comment Sandra_Svensson: 1 on eforselv: Every time you see something like this: if count == 3: return True else: return False .. there is a ... |
Oct. 6, 2016, 8:25 a.m. |
+5 |
Experience for appreciated comment Sandra_Svensson: 1 on eforselv: Every time you see something like this: if count == 3: return True else: return False .. there is a ... |
Oct. 6, 2016, 8:25 a.m. |
+1 |
Experience for voted comment Sandra_Svensson: 1 on eforselv: Looks good. The `uppers` could have been a generator instead so python don't have to construct an ac... |
Oct. 6, 2016, 8:25 a.m. |
+5 |
Experience for appreciated comment Sandra_Svensson: 1 on eforselv: Looks good. The `uppers` could have been a generator instead so python don't have to construct an ac... |
Oct. 6, 2016, 8:25 a.m. |
+5 |
Experience for appreciated comment Sandra_Svensson: 1 on eforselv: Isn't the `for` loop here a bit overkill? You create the `numbers` list that is identical to the `ar... |
Oct. 6, 2016, 8:25 a.m. |
+1 |
Experience for voted comment Sandra_Svensson: 1 on eforselv: Isn't the `for` loop here a bit overkill? You create the `numbers` list that is identical to the `ar... |
Oct. 6, 2016, 8:24 a.m. |
+5 |
Experience for appreciated comment Sandra_Svensson: 1 on eforselv: Pretty much perfect. You can drop the last return though and just return the value inside the `try/c... |
Oct. 6, 2016, 8:24 a.m. |
+1 |
Experience for voted comment Sandra_Svensson: 1 on eforselv: Pretty much perfect. You can drop the last return though and just return the value inside the `try/c... |
Oct. 5, 2016, 9:24 p.m. |
+5 |
Experience for appreciated comment tofguerrier: 1 on eforselv: `bin` already returns a string, so `str()` is not needed. Optionally you can use `str.count()` to sk... |
Oct. 5, 2016, 9:24 p.m. |
+2 |
Experience for voted comment tofguerrier: 1 on eforselv: `bin` already returns a string, so `str()` is not needed. Optionally you can use `str.count()` to sk... |
Oct. 5, 2016, 8:44 p.m. |
+5 |
Experience for solved mission Restricted Sum |
Oct. 5, 2016, 6:27 p.m. |
+5 |
Experience for appreciated comment SeraFinN: 1 on eforselv: Optionally you can drop the generator and do the replace on the joined string. |
Oct. 5, 2016, 6:27 p.m. |
+2 |
Experience for voted comment SeraFinN: 1 on eforselv: Optionally you can drop the generator and do the replace on the joined string. |
Oct. 5, 2016, 1:19 p.m. |
+2 |
Experience for voted comment greg.p.mueller: 1 on eforselv: `bin` already returns a string, so using `str()` here is not needed. We also know that the prefix wi... |
Oct. 5, 2016, 1:19 p.m. |
+5 |
Experience for appreciated comment greg.p.mueller: 1 on eforselv: `bin` already returns a string, so using `str()` here is not needed. We also know that the prefix wi... |
Oct. 5, 2016, 11:28 a.m. |
+2 |
Experience for voted comment Mapkn3: 1 on eforselv: `bin` already returns a string, so no need to use `str()` here. |
Oct. 5, 2016, 11:28 a.m. |
+5 |
Experience for appreciated comment Mapkn3: 1 on eforselv: `bin` already returns a string, so no need to use `str()` here. |
Oct. 5, 2016, 3:52 a.m. |
+2 |
Experience for voted comment Fkudue: 1 on eforselv: You can use list comprehensions to solve this in one simple line. [unit for unit in data if ... etc]... |
Oct. 5, 2016, 3:52 a.m. |
+5 |
Experience for appreciated comment Fkudue: 1 on eforselv: You can use list comprehensions to solve this in one simple line. [unit for unit in data if ... etc]... |
Oct. 4, 2016, 10:55 a.m. |
+2 |
Experience for voted comment Krischtopp: 1 on eforselv: Optionally you can drop the generator and do the replace on the joined string. |
Oct. 4, 2016, 10:55 a.m. |
+5 |
Experience for appreciated comment Krischtopp: 1 on eforselv: Optionally you can drop the generator and do the replace on the joined string. |
Oct. 4, 2016, 7:38 a.m. |
+2 |
Experience for voted comment rafal.zbytniewski: 1 on eforselv: Nice to see that generators are used. Optionally you can skip the list comprehension completely and ... |
Oct. 4, 2016, 7:38 a.m. |
+5 |
Experience for appreciated comment rafal.zbytniewski: 1 on eforselv: Nice to see that generators are used. Optionally you can skip the list comprehension completely and ... |
Oct. 4, 2016, 5:38 a.m. |
+5 |
Experience for appreciated comment GaidarOS: 1 on eforselv: A few things: - `i = 0` is not needed. - `return "{}".format(out)` can just be `return out` |
Oct. 4, 2016, 5:38 a.m. |
+2 |
Experience for voted comment GaidarOS: 1 on eforselv: A few things: - `i = 0` is not needed. - `return "{}".format(out)` can just be `return out` |
Oct. 4, 2016, 2:53 a.m. |
+8 |
Experience for solved mission Binary Count |
Oct. 3, 2016, 8:04 a.m. |
+5 |
Experience for appreciated comment Kyiran: 1 on eforselv: It's the old way of doing it and it definitely works, but it's still an extremely convoluted way of ... |
Oct. 3, 2016, 8:04 a.m. |
+2 |
Experience for voted comment Kyiran: 1 on eforselv: It's the old way of doing it and it definitely works, but it's still an extremely convoluted way of ... |
Oct. 2, 2016, 12:44 p.m. |
+30 |
Experience for solved mission Open Labyrinth |
Oct. 2, 2016, 6:39 a.m. |
+1 |
Experience for voted comment cw4bn: 1 on eforselv: Sorry, I should have said array slicing instead. it works just like range() This will give you every... |
Oct. 2, 2016, 6:39 a.m. |
+5 |
Experience for appreciated comment cw4bn: 1 on eforselv: Sorry, I should have said array slicing instead. it works just like range() This will give you every... |
Oct. 2, 2016, 1:52 a.m. |
+5 |
Experience for appreciated comment jpursell: 1 on eforselv: `if array:` is enough to check if the list contains any elements. |
Oct. 2, 2016, 1:52 a.m. |
+2 |
Experience for voted comment jpursell: 1 on eforselv: `if array:` is enough to check if the list contains any elements. |
Oct. 2, 2016, 1:35 a.m. |
+8 |
Experience for solved mission Min and Max |
Oct. 2, 2016, 12:47 a.m. |
+15 |
Experience for solved mission Pawn Brotherhood |
Oct. 1, 2016, 9 p.m. |
+2 |
Experience for voted solution vladimir.v.matievskij: 1 on First-eforselv |
Oct. 1, 2016, 5:23 p.m. |
+15 |
Experience for solved mission Roman Numerals |
Oct. 1, 2016, 4:01 p.m. |
+8 |
Experience for solved mission Non-unique Elements |
Oct. 1, 2016, 2:01 p.m. |
+20 |
Experience for solved mission The Flat Dictionary |
Sept. 30, 2016, 12:02 a.m. |
+5 |
Experience for solved mission Absolute Sorting |
Sept. 29, 2016, 11:53 p.m. |
+15 |
Experience for solved mission Number Base |
Sept. 29, 2016, 11:31 p.m. |
+8 |
Experience for solved mission Digits Multiplication |
Sept. 29, 2016, 11:28 p.m. |
+5 |
Experience for solved mission Right to Left |
Sept. 28, 2016, 10:18 p.m. |
+5 |
Experience for solved mission Three Words |
Sept. 28, 2016, 10:09 p.m. |
+8 |
Experience for solved mission The Most Numbers |
Sept. 28, 2016, 9:56 p.m. |
+15 |
Experience for solved mission Secret Message |
Sept. 28, 2016, 9:48 p.m. |
+5 |
Experience for solved mission Even the Last |
Sept. 28, 2016, 9:41 p.m. |
+5 |
Experience for solved mission Index Power |
Sept. 28, 2016, 8:29 p.m. |
+5 |
Experience for solved mission Fizz Buzz |