Sept. 3, 2018, 4:03 p.m. |
+ 1 |
for Comment
flpo: This is just to point out that the test cases are rather weak :-)
|
Aug. 29, 2018, 11:45 a.m. |
+ 1 |
for Comment
oduvan: I'll do my best for moving everything to 3.7
|
Aug. 29, 2018, 11:44 a.m. |
+ 1 |
for Comment
oduvan: mine, only mine :) I'll fix it today.
|
Aug. 28, 2018, 8:01 a.m. |
+ 1 |
for Comment
suic: I forgot that dataclasses are a single Python module when I wrote this comment. Still, this would be...
|
Aug. 25, 2018, 10:27 p.m. |
+ 1 |
for Comment
suic: > I think you posted the same link twice. But then again, maybe that’s exactly the point of your pos...
|
Aug. 25, 2018, 10:04 p.m. |
+ 1 |
for Comment
StefanPochmann: You **are** getting a list of the pieces created anyway, though, are you not?
|
Aug. 23, 2018, 3:12 p.m. |
+ 1 |
for Comment
suic: I hope that this is sarcasm :)
|
Aug. 22, 2018, 11:26 a.m. |
+ 1 |
for Comment
hrvoje: I tend to overcomplicate just about everything, so I was honoring tradition. :)
|
Aug. 20, 2018, 10:08 a.m. |
+ 1 |
for Comment
NickHaflinger: Just tested the set.add method and it's a bit faster.
|
Aug. 20, 2018, 10:07 a.m. |
+ 1 |
for Comment
NickHaflinger: This 2 liner is elegant and blazing fast but I found it incomprehensible when I first saw it a coupl...
|
Aug. 20, 2018, 9:36 a.m. |
+ 1 |
for Comment
oduvan: I just wanted to say that the site is still exists :)
|
Aug. 20, 2018, 9:34 a.m. |
+ 1 |
for Comment
Nep: nice)
|
Aug. 15, 2018, 3:43 a.m. |
+ 1 |
for Comment
nickie: I think that using a second lambda does not make it shorter. Only a bit more puzzling...
|
Aug. 14, 2018, 10:05 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. 13, 2018, 5:18 p.m. |
+ 1 |
for Comment
DahliaSR: Learned something new - again! If I got it wright, using functools.partial() makes most sense if you...
|
Aug. 11, 2018, 8:06 p.m. |
+ 1 |
for Comment
gwie: Never mind, I'm an idiot. :D
|
Aug. 11, 2018, 8:03 p.m. |
+ 1 |
for Comment
hugoboss: OK, I understand now...
|
Aug. 11, 2018, 3:50 a.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. 11, 2018, 3:42 a.m. |
+ 1 |
for Post
Meaningful missions
|
Aug. 10, 2018, 9:15 a.m. |
+ 1 |
for Comment
CaptainFest: Very clear solution with interesting modules, i liked it.
|
Aug. 10, 2018, 7:44 a.m. |
+ 1 |
for Comment
Merzix: It`s amazing! Thx for such solution.
|
Aug. 10, 2018, 2:22 a.m. |
+ 1 |
for Comment
Nep: Nice! I didn't know about string.ascii_lowercase and about a key in max and min. It can be useful :-...
|
Aug. 10, 2018, 2:22 a.m. |
+ 1 |
for Comment
Yan.zilla: Damn, nice solution!
|
Aug. 10, 2018, 2:16 a.m. |
+ 1 |
for Comment
PyPoet: I was referring to the comma between the two expected arguments. Actually I didn't really notice the...
|
Aug. 10, 2018, 2:11 a.m. |
+ 1 |
for Comment
ermichin158: Are you sure? Okay, i will not argue. But hey, thanks you for good ideas =)
|
Aug. 10, 2018, 2:09 a.m. |
+ 1 |
for Comment
DahliaSR: Yes, it is if you take the time to have a look at the docementation and to try out what you read the...
|
Aug. 10, 2018, 2:08 a.m. |
+ 1 |
for Comment
jasperE3: This is Python 3, I think. You might be using version 2.
|
Aug. 10, 2018, 2:02 a.m. |
+ 1 |
for Comment
hugoboss: Yes, I'll milk you dry:) *args and one-line try\else condition + result make life easy! I just love ...
|
Aug. 8, 2018, 12:19 p.m. |
+ 1 |
for Comment
duycoding710: Clear!
|
Aug. 8, 2018, 12:19 p.m. |
+ 1 |
for Comment
WillofD: So clean and beautiful!
|
Aug. 8, 2018, 12:16 p.m. |
+ 1 |
for Comment
xamedow: Nice one, is there a reason to add TypeError handling, that prevents passing wrong arguments types t...
|
Aug. 8, 2018, 12:12 p.m. |
+ 1 |
for Comment
hugoboss: BOOLs IS INTs !!! Thanks! It's awesome. And the sixth line is unnecessary.
|
Aug. 7, 2018, 2:14 p.m. |
+ 1 |
for Comment
s1337: Awesome solution and I didn't know about f-strings, this changed my life :)
|
Aug. 5, 2018, 11:54 a.m. |
+ 1 |
for Comment
htamas: > I still stand by my estimate of several months. Wanna bet? :-) The problem is that if I bet, I'll ...
|
Aug. 5, 2018, 11:49 a.m. |
+ 1 |
for Comment
Fedorovich: Thank you.
|
Aug. 5, 2018, 11:08 a.m. |
+ 1 |
for Comment
ggoliev: Hi, @veky. 1. Thank you for your explanations in solution discussions - it helps a lot in the learni...
|
Aug. 5, 2018, 11:05 a.m. |
+ 3 |
for
First-mihail.ponomaryov
|
Aug. 5, 2018, 11:03 a.m. |
+ 1 |
for Comment
Michal_Szajer: Nice!
|
Aug. 2, 2018, 8:05 p.m. |
+ 1 |
for Comment
dmytrosh_a0b27ba4e84f40999bbc0: good, concise and pythonic solution
|
July 30, 2018, 7:13 a.m. |
+ 1 |
for Comment
Sim0000: I found [22 characters solution](https://py.checkio.org/mission/restricted-sum/publications/veky/pyt...
|
July 29, 2018, 10:18 a.m. |
+ 1 |
for
Standard using of Observer Design Pattern-von.Oak
|
July 29, 2018, 10:12 a.m. |
+ 1 |
for Comment
JimmyCarlos: Like everyone else, I am mind-blown by Line 5, it's such a perfect implementation of that. The littl...
|
July 26, 2018, 7:59 a.m. |
+ 1 |
for Comment
dandd31: Nice
|
July 26, 2018, 7:53 a.m. |
+ 1 |
for Comment
akaka: Awesome!! Thank you veky!
|
July 26, 2018, 7:51 a.m. |
+ 1 |
for Comment
Lasica: For others interested: article by Dave Abrahams URL: http://cpp-next.com/archive/2009/08/want-speed-...
|
July 16, 2018, 8:47 a.m. |
+ 1 |
for Comment
oduvan: You should find more solutions from veky and very soon you will start hating lambda function :)
|
July 16, 2018, 8:32 a.m. |
+ 1 |
for Comment
shunsk2017: I've read the page which you told me. And I think my python knowledge may be improved!! I saw someon...
|
July 13, 2018, 6:55 p.m. |
+ 1 |
for
"Flatten a list" using simple regex-tigerhu3180
|
July 13, 2018, 6:48 p.m. |
+ 1 |
for
First-colinmcnicholl
|
July 12, 2018, 5:33 a.m. |
+ 1 |
for Comment
bogdosh100: LoLoLoL)0) Think it as you wish. =) =) =) =) =) =) =) =) =) =)
|
July 12, 2018, 5:30 a.m. |
+ 1 |
for Comment
isykes: Very clever. Took me long time to calculate the values for my equivalent dict. No one can criticise ...
|
July 9, 2018, 7:17 a.m. |
+ 1 |
for Comment
tatertotsis: I tend to forget to put spaces, I'm still working on it. Thanks for the feedback though!
|
July 9, 2018, 7:15 a.m. |
+ 1 |
for Comment
yanhua.dev: From your comments and show cases, I learned a lot :-). Thanks very much.
|
July 6, 2018, 1:41 p.m. |
+ 1 |
for Comment
yanhua.dev: I like your code's excellent readability very much. While I am using Python, I am not clear on how t...
|
July 4, 2018, 3:45 p.m. |
+ 3 |
for
shmur-tatertotsis
|
July 4, 2018, 3:44 p.m. |
+ 2 |
for
Monkey Typing-Efron
|
July 4, 2018, 3:40 p.m. |
+ 1 |
for
Monkey Typing-ouhuazheng
|
July 3, 2018, 7:09 a.m. |
+ 1 |
for Comment
mazocomp: I should read docs better... Anyway, in that case test 6 fails: Your result: [5,2,0,1,3] Right resul...
|
July 2, 2018, 7:48 p.m. |
+ 1 |
for Comment
likewind: Thank you for the advice. I'll try to fix this.
|
July 2, 2018, 3:39 p.m. |
+ 4 |
for
SavedText(list)-flpo
|
June 29, 2018, 7:52 p.m. |
+ 1 |
for Comment
gileadslostson: Unfortunately not the problem :/
|
June 27, 2018, 8:13 a.m. |
+ 1 |
for Comment
gileadslostson: That might very well be it! Cheers =)
|
June 25, 2018, 7:08 p.m. |
+ 1 |
for Comment
suic: This blog post and the discussion under it reminds me [this video](https://www.youtube.com/watch?v=E...
|
June 23, 2018, 9:29 a.m. |
+ 1 |
for Comment
flpo: Oh, you are right! I often forget about `__r...__` Thanks for the reminder :-D
|
June 22, 2018, 9:10 p.m. |
+ 3 |
for
FP & MetaOOP-flpo
|
June 22, 2018, 12:26 p.m. |
+ 1 |
for
First-wanglong1996
|
June 22, 2018, 12:21 p.m. |
+ 1 |
for
First-daniel-pye
|
June 22, 2018, 12:16 p.m. |
+ 1 |
for
Three words-Andrii_Veselov
|
June 19, 2018, 11:43 a.m. |
+ 1 |
for Comment
flpo: Ops... I didn't say it sarcastically, I said it imprecisely :-D > they vacuously satisfy every prope...
|
June 15, 2018, 11:06 a.m. |
+ 4 |
for
metaclass=Singleton-flpo
|
June 12, 2018, 10:02 a.m. |
+ 2 |
for
life is pain-Keisuki
|
June 1, 2018, 3:52 p.m. |
+ 1 |
for Comment
oduvan: exactly :)
|
May 29, 2018, 6:45 a.m. |
+ 1 |
for Comment
ElliotG: Thanks for your reply and for sharing your other post. After having read the post, I understand your...
|
May 29, 2018, 6:36 a.m. |
+ 1 |
for Comment
s_m: Thank you so much! I didn't know about it.
|
May 28, 2018, 11:32 a.m. |
+ 1 |
for Comment
s_m: Hi! Would you be so kind to explain what means '*' in expression interp1d([*map(stamp, solutions)], ...
|
May 24, 2018, 4:08 a.m. |
+ 1 |
for Comment
LKJlove: Ha ha,it's subtly different from the 5th line.':' and ':',just like this. :)
|
May 18, 2018, 8:06 a.m. |
+ 1 |
for Comment
oduvan: :) yeah
|
May 12, 2018, 4:44 a.m. |
+ 1 |
for Comment
Sim0000: OMG, C ghost is bad to me :-)
|
May 11, 2018, 8:52 a.m. |
+ 3 |
for
1-liner: round -przemyslaw.daniel
|
May 9, 2018, 8:56 p.m. |
+ 1 |
for Comment
yoichi: Excellent! It doesn't require str.join.
|
May 6, 2018, 5:19 a.m. |
+ 1 |
for Comment
alexander.gorelyshev: Veky, many thanks. I've found your solution very educational.
|
May 4, 2018, 2:22 p.m. |
+ 1 |
for Comment
danny.luker_6f2b7a7a6c6340b297: Very nice! I learn of ord() and any() from your example. Thanks!
|
April 26, 2018, 2:16 p.m. |
+ 1 |
for Comment
flpo: Wow, cool! Thanks for the clarification :) I had never noticed that bound methods were materialized ...
|
April 25, 2018, 3:28 a.m. |
+ 1 |
for Comment
Tinus_Trotyl: A card model of a dice ? 3d modeling, cool !!!
|
April 22, 2018, 7:55 p.m. |
+ 1 |
for Comment
nakanohito_piyo: Thank you for pointing it out. Although this suggestion is right, I did not want to rewrite preset v...
|
April 22, 2018, 10:42 a.m. |
+ 1 |
for
First-Chocolater
|
April 22, 2018, 10:41 a.m. |
+ 1 |
for
First-Sim0000
|
April 22, 2018, 10:38 a.m. |
+ 4 |
for
Clear and pythonic-nakanohito_piyo
|
April 21, 2018, 5:08 a.m. |
+ 1 |
for Comment
jtokaz: Nice as always. Function parameter should be "races" as you have it. Not "horses" as provided.
|
April 7, 2018, 6:30 a.m. |
+ 1 |
for Comment
StefanPochmann: That's a bad excuse, you could make it shorter or give it more space by right-clicking it and using ...
|
April 7, 2018, 6:27 a.m. |
+ 1 |
for Comment
StefanPochmann: Code reuse is always good. Plus, this is how they'd do it in the movies.
|
March 29, 2018, 7:33 p.m. |
+ 1 |
for Comment
StefanPochmann: With "different semantics" I assume you mean the treatment of equal elements? I'm sure that was irre...
|
March 26, 2018, 7:45 p.m. |
+ 1 |
for
First-Tinus_Trotyl
|
March 26, 2018, 7:37 p.m. |
+ 1 |
for Comment
StefanPochmann: Shortened: def follow(instructions): globals().update(collections.Counter(instructions + 'barfly')) ...
|
March 26, 2018, 7:32 p.m. |
+ 1 |
for Comment
StefanPochmann: Ah, I should've suspected you've done this already. No need for `b` if you use `find` instead of `in...
|
March 26, 2018, 3:04 p.m. |
+ 1 |
for
First-StefanPochmann
|
March 26, 2018, 3:04 p.m. |
+ 3 |
for
Next →-StefanPochmann
|
March 26, 2018, 5:55 a.m. |
+ 1 |
for Comment
Pouf: Cool, a functions train !
|
March 24, 2018, 5:22 p.m. |
+ 1 |
for Comment
yoichi: You don't have to replace '_' before applying title().
|
March 24, 2018, 6:01 a.m. |
+ 1 |
for Comment
flpo: Thanks! ^(.)|_(.)
|