Nov. 21, 2016, 8:18 p.m. |
+ 1 |
for Comment
DahliaSR: Whoo, took me some minutes to figure out how the lamdba works here (thanks to Pythontutor :D) Really...
|
Nov. 21, 2016, 8:14 p.m. |
+ 3 |
for
First-htamas
|
Nov. 20, 2016, 2:15 p.m. |
+ 1 |
for Comment
ermichin158: I dont think that this is good solution... Nothing happend! Cool =)
|
Nov. 20, 2016, 1:58 p.m. |
+ 1 |
for Comment
ermichin158: Yes, but i didn't sad that it should be better ;~)
|
Nov. 20, 2016, 1:56 p.m. |
+ 1 |
for Comment
ermichin158: Yes, i can... Now i can =)
|
Nov. 20, 2016, 1:53 p.m. |
+ 3 |
for
Me + you = <3-ermichin158
|
Nov. 20, 2016, 1:28 p.m. |
+ 1 |
for Comment
DiZ: Nearly same here, sorry for the involuntary copy!
|
Nov. 20, 2016, 1:16 p.m. |
+ 1 |
for Comment
drednout: Too much duplicate code. Can we do better?:)
|
Nov. 20, 2016, 1:15 p.m. |
+ 1 |
for Comment
suic: Hi, you could write `return sorted([A, B, C])`.
|
Nov. 20, 2016, 1:11 p.m. |
+ 1 |
for Comment
smilicic: :D
|
Nov. 19, 2016, 11:13 p.m. |
+ 1 |
for Comment
Thenbacker: Wow, that's a concise solution!
|
Nov. 19, 2016, 1:54 p.m. |
+ 1 |
for Comment
vikulin: no, it sucked. :-) this one is better from collections import Counter, defaultdict from operator imp...
|
Nov. 17, 2016, 9:26 p.m. |
+ 3 |
for
First, brute force (dark force?)-Thenbacker
|
Nov. 17, 2016, 2:33 p.m. |
+ 1 |
for Comment
IanSolWhite: Beautifully short (advantages of maths). For the line C = sum(...), consider using pearls.count("w")
|
Nov. 17, 2016, 2:33 p.m. |
+ 1 |
for Comment
nickie: An explanation of this solution is in the attached PDF file. The motivation for writing this came wh...
|
Nov. 17, 2016, 6:42 a.m. |
+ 1 |
for Comment
dannystaple: I was looking for your solution - always an education. Didn't know you could define a lambda local t...
|
Nov. 17, 2016, 6:39 a.m. |
+ 1 |
for Comment
oduvan: I think "Edit" is still available for changing a category.
|
Nov. 16, 2016, 2:34 p.m. |
+ 2 |
for
:-D :D- -:D -D: D:- D-: D,_-smilicic
|
Nov. 14, 2016, 11:17 a.m. |
+ 1 |
for Comment
nickie: Then, stick to the standard solution: sort the list and then pick the median. It should be good for ...
|
Nov. 14, 2016, 11:15 a.m. |
+ 1 |
for Comment
Peter.White: > I won’t question your arguments, which are fair in general and, as we all know, can be used to rul...
|
Nov. 14, 2016, 11:09 a.m. |
+ 4 |
for
O(n) select-nickie
|
Nov. 14, 2016, 8:04 a.m. |
+ 1 |
for Comment
Thenbacker: Very nice solution, I know it has been written before in the comments, but I like how you dealt with...
|
Nov. 12, 2016, 8:04 a.m. |
+ 1 |
for Comment
ryan.n.goodner: wow
|
Nov. 11, 2016, 10 a.m. |
+ 1 |
for Comment
lsdda: Coming back after 2 years, your review is still golden.
|
Nov. 4, 2016, 9:23 p.m. |
+ 1 |
for Comment
terryyin: Ok Chuck Norris:-) Say I have an unnamed list: [rand(10) for _ in range(rand(10))], how can I get th...
|
Nov. 3, 2016, 10:05 a.m. |
+ 1 |
for Comment
dannystaple: I like this - short and sweet. Ah - and simply counting the ones means no need to chop off the "0b".
|
Nov. 2, 2016, 8:31 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Oh, I see. Thanks for the link to wiki!
|
Nov. 2, 2016, 8:01 a.m. |
+ 1 |
for Comment
DahliaSR: This one is great! But I don't get why line 2 does not fail on generators. Usually generators don't ...
|
Nov. 1, 2016, 9:58 a.m. |
+ 1 |
for
C3-like-tom-tom_f993b3abc4814d4cb5476e
|
Nov. 1, 2016, 2:45 a.m. |
+ 1 |
for Comment
DanyC97: @veky note the above works for python v > 3.5 (before we can't have any arguments after **). However...
|
Oct. 31, 2016, 7:08 p.m. |
+ 1 |
for Comment
DanyC97: indeed you are right ;)
|
Oct. 30, 2016, 7:20 p.m. |
+ 1 |
for Comment
AliJoohy: Thank you, sir, That's awesome
|
Oct. 30, 2016, 1:25 p.m. |
+ 3 |
for
First-DanyC97
|
Oct. 30, 2016, 1:23 p.m. |
+ 1 |
for Comment
DanyC97: hehe, cheers @veky
|
Oct. 30, 2016, 7:57 a.m. |
+ 1 |
for
First-jarecot
|
Oct. 29, 2016, 5:40 p.m. |
+ 1 |
for Comment
DahliaSR: Yes I agree, the idea is the basically the same, but it is another approach. And of course I noticed...
|
Oct. 29, 2016, 12:08 p.m. |
+ 1 |
for
Two regular expressions and a translation table-DahliaSR
|
Oct. 28, 2016, 7:24 a.m. |
+ 1 |
for Comment
bryukh: The Lines 11-14 are little weird :) I'm sure that is the debug rudiment. line 8-15 can be changed to...
|
Oct. 27, 2016, 9:08 a.m. |
+ 1 |
for
Breadth-First-autodidact_ks
|
Oct. 26, 2016, 12:12 p.m. |
+ 1 |
for Comment
satoshi1117: your answers always clear and beautiful.
|
Oct. 21, 2016, 8:23 a.m. |
+ 1 |
for Comment
DahliaSR: Autumn Holidays just started... so gues what my right hand wright does now :D
|
Oct. 21, 2016, 8:22 a.m. |
+ 1 |
for Comment
vananabu: There is one question after your solutions: 'why did not I think of that?' it's so simple :) bravo!
|
Oct. 21, 2016, 8:20 a.m. |
+ 1 |
for Comment
DiZ: I already had to look at Python SVN to find `formatter.py`, so here I go for SVN, *noooooo!*
|
Oct. 21, 2016, 8:13 a.m. |
+ 3 |
for
Mutable Keyword Storage-cdhagmann
|
Oct. 21, 2016, 8:03 a.m. |
+ 3 |
for
Less Less Looping-DahliaSR
|
Oct. 20, 2016, 10:47 a.m. |
+ 3 |
for
Regexes all the way-ale1ster
|
Oct. 20, 2016, 10:16 a.m. |
+ 3 |
for
Striped Words-narimiran
|
Oct. 20, 2016, 10:02 a.m. |
+ 2 |
for
Scan Each Letter , Check if current letter and next letter are vowels/consonants-nklnarayana
|
Oct. 19, 2016, 4:13 p.m. |
+ 2 |
for
Use of try/except clause-maughan.john
|
Oct. 19, 2016, 10:43 a.m. |
+ 1 |
for Comment
smilicic: Yeah, classmethod might have been the secret chord, that I've should have played to please the Lord....
|
Oct. 19, 2016, 4:01 a.m. |
+ 1 |
for Comment
Juge_Ti: Well, I googled "python * in function argument" and got http://stackoverflow.com/questions/23038767/...
|
Oct. 19, 2016, 4:01 a.m. |
+ 1 |
for Comment
Juge_Ti: I didn't even know function annotations existed in Python. Actually I didn't know about endswith or ...
|
Oct. 19, 2016, 3:58 a.m. |
+ 3 |
for
Unitsphery classicism-smilicic
|
Oct. 18, 2016, 9 a.m. |
+ 1 |
for Comment
PyPoet: This is really good. It's complex yet simplistic and straight forward. Even readable for noobs like ...
|
Oct. 18, 2016, 8:55 a.m. |
+ 1 |
for Comment
nickie: Right... My original version had str(int(w.isalpha())) and then I was counting aces, so this seemed ...
|
Oct. 18, 2016, 7:58 a.m. |
+ 3 |
for
O(1)-DiZ
|
Oct. 18, 2016, 7:15 a.m. |
+ 1 |
for Comment
oduvan: It was good times :) The difference between current and the next one https://py.checkio.org/mission/...
|
Oct. 17, 2016, 5:48 p.m. |
+ 3 |
for
First-samulih
|
Oct. 17, 2016, 5:47 p.m. |
+ 1 |
for Comment
oduvan: I like the idea here of not using the third function http://www.checkio.org/mission/min-max/publicat...
|
Oct. 17, 2016, 5:27 a.m. |
+ 1 |
for Comment
DahliaSR: print(*range(1,10)) Does the same, coz "sep" defaults to a whitespace.^^
|
Oct. 15, 2016, 8:18 a.m. |
+ 1 |
for Comment
anddam: Love it, my favorite approach so far, in fact I'm changing my iterative approach to one with a gener...
|
Oct. 15, 2016, 6:20 a.m. |
+ 1 |
for Comment
DahliaSR: That is a GOOD point. > But not necessarily. In some cases it still pays to have a once-used partial...
|
Oct. 13, 2016, 9:14 a.m. |
+ 1 |
for Comment
bdesign: Thanks for the info! I am new to Python and didn't know there was a built in pow function.
|
Oct. 13, 2016, 8:31 a.m. |
+ 2 |
for
First-entropic305
|
Oct. 13, 2016, 8:31 a.m. |
+ 2 |
for
O(n^4)-ablikexe
|
Oct. 13, 2016, 8:31 a.m. |
+ 3 |
for
First-tofguerrier
|
Oct. 13, 2016, 8:31 a.m. |
+ 2 |
for
First-Bronepoezd
|
Oct. 9, 2016, 11:22 p.m. |
+ 1 |
for Comment
charli-polo: It's fun to watch you golfing, keep going :)
|
Oct. 8, 2016, 2:48 p.m. |
+ 1 |
for Comment
terryyin: Orz Nice:-) Thank you!
|
Oct. 8, 2016, 2:46 p.m. |
+ 1 |
for Comment
floord: Hahaha, Veky, you are something... :)
|
Oct. 8, 2016, 5:05 a.m. |
+ 1 |
for Comment
Lingson: Of course I haven't see ALL of your solutions :) But quite a lot. How would I missed your solutions ...
|
Oct. 8, 2016, 4:17 a.m. |
+ 1 |
for Comment
DahliaSR: Makes sense. :P Thx
|
Oct. 7, 2016, 2:23 p.m. |
+ 1 |
for Comment
Thenbacker: Are you comparing ugly code to a stab in the eye? I must admit, it does hurt the eyes. Thanks for th...
|
Oct. 7, 2016, 2:18 p.m. |
+ 1 |
for Comment
oduvan: They will :)
|
Oct. 7, 2016, 1:11 p.m. |
+ 1 |
for Comment
oduvan: The module will be included soon :)
|
Oct. 7, 2016, 1:10 p.m. |
+ 1 |
for Comment
Thenbacker: Fabulous!
|
Oct. 7, 2016, 8:37 a.m. |
+ 3 |
for
First-tom-tom_f993b3abc4814d4cb5476e
|
Oct. 7, 2016, 7:54 a.m. |
+ 1 |
for
First, yet another recursion example-Thenbacker
|
Oct. 7, 2016, 7:45 a.m. |
+ 1 |
for Comment
Thenbacker: Compact and readable, you did it again. I clearly over-complicated things for my first solution. Tha...
|
Oct. 6, 2016, 8:17 a.m. |
+ 1 |
for Comment
goonbee: Looks good!
|
Oct. 6, 2016, 8:11 a.m. |
+ 4 |
for
Perfect Square-goonbee
|
Oct. 5, 2016, 6:48 a.m. |
+ 1 |
for Comment
DiZ: Quite true, plus the fact I didn't come here so often (because you know... no new content). But at l...
|
Oct. 4, 2016, 11:38 a.m. |
+ 1 |
for Comment
DiZ: It has been quite a while you posted this solution, and I never saw it until now. No counter, no bra...
|
Oct. 4, 2016, 11:38 a.m. |
+ 1 |
for Comment
DerekSharp: I just re ran both our codes vs santagada. I believe he is mistaken. His does not even appear to be ...
|
Oct. 3, 2016, 10:17 a.m. |
+ 1 |
for Comment
Mellivoran: Thanks for the informative explanations. Archiving this publication in my personal dictionary for fu...
|
Oct. 3, 2016, 10:14 a.m. |
+ 1 |
for Comment
Thenbacker: Fabulous, short and very, very readable!!
|
Oct. 3, 2016, 4:39 a.m. |
+ 4 |
for
An orderly queue of one-smilicic
|
Oct. 3, 2016, 4:35 a.m. |
+ 1 |
for Comment
totee19: Very funny !!
|
Sept. 30, 2016, 8:38 p.m. |
+ 1 |
for Comment
nickie: This time I won't have to write a decrypted version. [Bruykh](http://www.checkio.org/mission/paintin...
|
Sept. 30, 2016, 7:36 a.m. |
+ 1 |
for
One-liner-george.blackthorn
|
Sept. 30, 2016, 7:35 a.m. |
+ 3 |
for
Additive system-george.blackthorn
|
Sept. 30, 2016, 7:27 a.m. |
+ 2 |
for
Short-george.blackthorn
|
Sept. 30, 2016, 7:25 a.m. |
+ 1 |
for Comment
mzuluagag: amazing
|
Sept. 29, 2016, 9:26 a.m. |
+ 3 |
for
Bitwise Only-DahliaSR
|
Sept. 27, 2016, 9:14 a.m. |
+ 3 |
for
Second-smilicic
|
Sept. 26, 2016, 1:09 p.m. |
+ 1 |
for Comment
minstrel271: why not use divmod?
|
Sept. 24, 2016, 9:22 a.m. |
+ 1 |
for Comment
oduvan: Do you really know all the Python functions? :)
|
Sept. 23, 2016, 9:12 a.m. |
+ 1 |
for Comment
s_holland: Hettinger's an excellent recommendation veky. Watched a couple of his videos, very good talker with ...
|
Sept. 22, 2016, 11:12 a.m. |
+ 1 |
for Comment
dnafication: Nice way to demo exception handling and exploiting the same instead of putting in conditionals.
|
Sept. 22, 2016, 6:44 a.m. |
+ 2 |
for
Simple solution-kzantar
|