Sept. 17, 2018, 2:12 p.m. |
+ 1 |
for Comment
V.Shkaberda: These are examples of answers the function returns (=solutions) and test messages: * `True` gives _Y...
|
Sept. 17, 2018, 2:11 p.m. |
+ 1 |
for Comment
V.Shkaberda: Why one have to use specific datatypes in answer? For example, in [The Fastest Horse](https://py.che...
|
Sept. 14, 2018, 2:18 p.m. |
+ 1 |
for Comment
quarkov: Here's a good place for those who know regexes a little and/or have difficulties with somebody's reg...
|
Sept. 9, 2018, 12:37 p.m. |
+ 1 |
for Comment
veky: There are videos about that, too. :-) Things become more clear when you grasp the message behind htt...
|
Sept. 9, 2018, 12:36 p.m. |
+ 1 |
for Comment
hanpari: Actually, the statement that "design patterns are sign of a weakness..." is bottom line of the link ...
|
Sept. 4, 2018, 11:51 a.m. |
+ 1 |
for Comment
flpo: I agree with @fed.kz . Task description states: > Your task is to count the minimal area of the rect...
|
Sept. 4, 2018, 11:29 a.m. |
+ 3 |
for
Binair Interpretation-Tinus_Trotyl
|
Sept. 3, 2018, 7:37 p.m. |
+ 1 |
for Task
Ground for the House
|
Sept. 3, 2018, 10:08 a.m. |
+ 1 |
for Comment
flpo: This is just to point out that the test cases are rather weak :-)
|
Sept. 3, 2018, 10:08 a.m. |
+ 1 |
for Comment
veky: ... on so many levels. :-P
|
Sept. 1, 2018, 1:34 p.m. |
+ 1 |
for Comment
V.Shkaberda: What is the main purpose of these tasks? I mean all tasks on this site. I believe it's an education....
|
Aug. 29, 2018, 5:21 p.m. |
+ 1 |
for Comment
oduvan: I'll do my best for moving everything to 3.7
|
Aug. 27, 2018, 6:39 p.m. |
+ 1 |
for Comment
hanpari: You are right. I have read few books on design patterns in Python and all the time I saw Java in dis...
|
Aug. 27, 2018, 6:37 p.m. |
+ 1 |
for Comment
veky: So you think this is just a coincidence? Well, of course I can't prove anything, but my model is ver...
|
Aug. 27, 2018, 2:51 p.m. |
+ 1 |
for Comment
m_vv: your code made text.lower().split() on each iteration. You can make more optimal solution.
|
Aug. 27, 2018, 2:46 p.m. |
+ 1 |
for Comment
Villentre: Why not just "return first == second"?
|
Aug. 26, 2018, 7:17 p.m. |
+ 1 |
for Comment
veky: If I could somehow bypass that Random Review, I might comment on that solution. :-P Oh yes, one more...
|
Aug. 25, 2018, 11:24 p.m. |
+ 1 |
for Task
Chemical Analysis
|
Aug. 25, 2018, 10:54 p.m. |
+ 1 |
for Comment
veky: > I know, and I’m sorry for this. Sometimes It takes too much time to keep the service alive. Well, ...
|
Aug. 25, 2018, 8:58 a.m. |
+ 1 |
for Comment
veky: I think you posted the same link twice. But then again, maybe that's exactly the point of your post....
|
Aug. 23, 2018, 9:50 p.m. |
+ 1 |
for Comment
veky: First let me emphasize that I'm very glad we're discussing this. I was very afraid this radio silenc...
|
Aug. 23, 2018, 8:41 p.m. |
+ 1 |
for Comment
veky: For the same reason a long time ago requirement to use lists was a bad idea. Python is a duck typed ...
|
Aug. 23, 2018, 3:20 p.m. |
+ 1 |
for Comment
veky: Enough meaning he's not feeling his duty to be converting Dropbox to Py3. Disappoint? Yes, of course...
|
Aug. 23, 2018, 3:15 p.m. |
+ 1 |
for Comment
veky: I'm sure @V.Shkaberda meant it as sarcasm. But I'm not sure how @likewind will understand it. :-O
|
Aug. 23, 2018, 2:47 p.m. |
+ 1 |
for Comment
V.Shkaberda: Good work! But you missed a couple, I'll help: * Flatten a List (function version) * Flatten a List ...
|
Aug. 23, 2018, 10:57 a.m. |
+ 1 |
for Comment
Gabbek: I don't really understand the last example: atoms('(CH3COO)2Ca', 4) == ['H', 'O'] . Could you please...
|
Aug. 20, 2018, 9:21 a.m. |
+ 5 |
for
Counter-Sim0000
|
Aug. 17, 2018, 9:49 a.m. |
+ 1 |
for Comment
veky: min((x for x in iterable if x is not None), default=None) Really not necessary to make another whole...
|
Aug. 16, 2018, 4:16 p.m. |
+ 1 |
for Comment
hanpari: I believe you forgot to mention: https://pypi.org/project/six/
|
Aug. 15, 2018, 4:12 p.m. |
+ 2 |
for
breadth first search-1-more
|
Aug. 12, 2018, 11:17 a.m. |
+ 1 |
for Comment
hanpari: Rather stop writing unnecessary classes just because they are necessary in other languages. :)
|
Aug. 11, 2018, 9:22 a.m. |
+ 1 |
for Comment
veky: Let it be said (@oduvan will probably remember) that I warned this will happen, the moment admins an...
|
Aug. 10, 2018, 8:40 p.m. |
+ 1 |
for Comment
Sim0000: Python 3.7 has been released. It seems good to have a mission to introduce new features added in Pyt...
|
Aug. 10, 2018, 8:05 p.m. |
+ 1 |
for Comment
hanpari: Well, what about make your Color class more like interface using: https://docs.python.org/3/library/...
|
Aug. 10, 2018, 7:56 p.m. |
+ 1 |
for Comment
veky: You're aware that both can be solved with the same code? :-P
|
Aug. 10, 2018, 7:55 p.m. |
+ 1 |
for Comment
veky: Ok, this is just wrong. You take a mission, which I have solved a long time ago, and now make two mi...
|
Aug. 8, 2018, 5:50 p.m. |
+ 2 |
for
Firick-firick
|
Aug. 8, 2018, 5:45 p.m. |
+ 2 |
for
One-liner-altarfinch
|
Aug. 8, 2018, 5:43 p.m. |
+ 2 |
for
5-liner: 3 lambdas-przemyslaw.daniel
|
Aug. 6, 2018, 4:29 p.m. |
+ 1 |
for Comment
von.Oak: Hi, nice idea with using `list` object class VoiceCommand(list): def __init__(self, channels): super...
|
Aug. 1, 2018, 6:04 p.m. |
+ 1 |
for Comment
veky: The author is writing Java. Yes, you can write Java in Python. :-P Well, I know Eliezer's style, but...
|
Aug. 1, 2018, 6:04 p.m. |
+ 1 |
for Comment
veky: He probably ran it on Py2. Which is simply unforgivable for someone having an orange A next to their...
|
July 29, 2018, 11:19 a.m. |
+ 1 |
for Comment
Gabbek: Very creative one. Nothing worse than a 4 years old code review, but hey! :D
|
July 21, 2018, 5:16 p.m. |
+ 1 |
for Comment
jbwb: Neat solution! Unfortunately, I couldn't get this algorithm to work with red words that have double ...
|
July 21, 2018, 10:55 a.m. |
+ 1 |
for Comment
Gabbek: I always like to look how DFS is written. Liking the use of defaultdict.
|
July 21, 2018, 10:55 a.m. |
+ 1 |
for Comment
Gabbek: Clean and readable.
|
July 21, 2018, 10:50 a.m. |
+ 1 |
for Comment
Gabbek: Interesting one liner! Love to see new modules being used. Hope to talk to you a bit more in upcomin...
|
July 20, 2018, 6:32 p.m. |
+ 1 |
for
Best Speeches of Mr. Hettinger. Part 2
|
July 19, 2018, 8:59 a.m. |
+ 1 |
for Comment
veky: You're aware that you wrote the same thing three times? :-)
|
July 19, 2018, 8:55 a.m. |
+ 1 |
for Comment
MrPod: I thought, it would be better to make my solution fully shown in the window instead of it be 'cut'
|
July 18, 2018, 3:25 p.m. |
+ 1 |
for
Time converter-MarcinJamrozik
|
July 18, 2018, 3:24 p.m. |
+ 1 |
for
'p' in time-Lemmi
|
July 18, 2018, 3:22 p.m. |
+ 1 |
for
Second-tutumba
|
July 18, 2018, 3:05 p.m. |
+ 1 |
for
Clean and simple.-Celshade
|
July 17, 2018, 9:02 a.m. |
+ 1 |
for Comment
veky: Also, while I'm here: https://realpython.com/the-most-diabolical-python-antipattern/ Empty `except:`...
|
July 11, 2018, 7:10 p.m. |
+ 1 |
for Comment
veky: I'm 37. No, that's not it then, I thought you might be 16 or something like that. Maybe Russian cult...
|
July 11, 2018, 6:41 p.m. |
+ 3 |
for
First-Sim0000
|
July 11, 2018, 6:23 p.m. |
+ 5 |
for
Human = Robot-flpo
|
July 11, 2018, 1:15 p.m. |
+ 2 |
for
No clue what I did-Niguhashish_d29e8a8077a64c868f
|
July 11, 2018, 1:07 p.m. |
+ 2 |
for
First-Niguhashish_d29e8a8077a64c868f
|
July 11, 2018, 12:37 p.m. |
+ 5 |
for
f-string-Sim0000
|
July 11, 2018, 12:34 p.m. |
+ 3 |
for
one-liner-flpo
|
July 11, 2018, 9:44 a.m. |
+ 5 |
for
Rename and reuse-veky
|
July 11, 2018, 9:43 a.m. |
+ 5 |
for
cycle(Lamp.sequence)-flpo
|
June 28, 2018, 3:12 p.m. |
+ 1 |
for
Design Patterns. Part 2
|
June 27, 2018, 10:32 p.m. |
+ 1 |
for Task
Party Invitations
|
June 27, 2018, 9:12 a.m. |
+ 1 |
for Comment
veky: Even that is giving too much credit. I don't know much C# (and I think it's just Microsoft's Java), ...
|
June 26, 2018, 2:52 p.m. |
+ 1 |
for Comment
hanpari: It is actually a nice post. The general problem with design patterns in Python is that Python is not...
|
June 25, 2018, 5:48 p.m. |
+ 5 |
for
Swordsman = Lancer = Archer = None-flpo
|
June 25, 2018, 3:50 p.m. |
+ 3 |
for
Gather!-veky
|
June 25, 2018, 1:54 p.m. |
+ 1 |
for Comment
veky: There are _some_ usages of them, but yes, they are mostly in the language because Guido was afraid t...
|
June 25, 2018, 1:47 p.m. |
+ 1 |
for Comment
veky: Adapt them to your tasks, but also adapt them to your language. Design patterns from Java don't make...
|
June 20, 2018, 12:08 p.m. |
+ 2 |
for
Split time, return minute:degree partition times total minutes-alexander.gorelyshev
|
June 20, 2018, 12:07 p.m. |
+ 1 |
for Comment
mihail.ponomaryov: > Simple and clear. Thanks. > For the __repr__ you might want to use f-strings which are awesome =) ...
|
June 20, 2018, 10:14 a.m. |
+ 1 |
for
First-kwj
|
June 20, 2018, 9:57 a.m. |
+ 1 |
for
First-a.hayashi_a579e6a34ed04680add6
|
June 16, 2018, 8:42 p.m. |
+ 5 |
for
cook your locals()-flpo
|
June 15, 2018, 8:53 p.m. |
+ 1 |
for
CheckiO Quests
|
June 14, 2018, 5:34 p.m. |
+ 5 |
for
metaclass-Sim0000
|
June 14, 2018, 5:34 p.m. |
+ 5 |
for
metaclass=Singleton-flpo
|
June 14, 2018, 5:31 p.m. |
+ 3 |
for
Super considered new.-veky
|
June 14, 2018, 5:31 p.m. |
+ 1 |
for Comment
veky: So why don't you test it? :-P You might it find hard to believe, but concepts from one programming l...
|
June 14, 2018, 5:29 p.m. |
+ 3 |
for
First-Sim0000
|
June 9, 2018, 9:29 a.m. |
+ 1 |
for Comment
hanpari: Great question. F# didnt make it what is extremely pity. This is why I gave up while I still believe...
|
June 8, 2018, 8:03 p.m. |
+ 3 |
for
max/min-treyhunner
|
June 8, 2018, 8:02 p.m. |
+ 1 |
for Comment
Marcelo_Ozorio: Nice, avoiding if statement by using max(default = 0). Excellent.
|
June 7, 2018, 9:02 p.m. |
+ 3 |
for
re.findall & lower-flpo
|
June 7, 2018, 9:01 p.m. |
+ 3 |
for
Fraction with divmod-martin_b
|
June 7, 2018, 3:27 p.m. |
+ 1 |
for Comment
oduvan: but solutions give you understanding of what else you can learn :)
|
May 31, 2018, 11:43 p.m. |
+ 1 |
for Comment
przemyslaw.daniel: Nothing is what it seems... MORSE = {'.-': 'a', '-...': 'b', '-.-.': 'c', '-..': 'd', '.': 'e', '..-...
|
May 30, 2018, 9:28 p.m. |
+ 1 |
for Comment
veky: Compared to [what](https://py.checkio.org/mission/bigger-price/publications/veky/python-3/connecting...
|
May 30, 2018, 9:28 p.m. |
+ 5 |
for
Connecting the dots-veky
|
May 29, 2018, 7 p.m. |
+ 3 |
for
Domain Specific-veky
|
May 29, 2018, 6:59 p.m. |
+ 1 |
for Comment
veky: Yeah... it's too bad that because of Python's functional programming fear we don't have functools.co...
|
May 24, 2018, 12:08 p.m. |
+ 1 |
for Comment
lisfer: Hey! Greate job! I just have two comments: Actually, we instead of making clause like if : return Tr...
|
May 13, 2018, 3:46 p.m. |
+ 1 |
for Comment
crazychemistry474: Short but very efficient when the list went large.
|
May 5, 2018, 3:25 p.m. |
+ 3 |
for
First-Sim0000
|
May 5, 2018, 12:49 p.m. |
+ 3 |
for
strptime-Sim0000
|
May 1, 2018, 8:50 p.m. |
+ 1 |
for Comment
veky: Hm... actually, you _did_ create something: a bound method. :-) You can verify it with: >>> f, g = '...
|
May 1, 2018, 8:32 p.m. |
+ 1 |
for Comment
alexander.gorelyshev: ...I would invite you to take advantage of the beautiful Pythonic list slices: all you need to sum u...
|