Aug. 28, 2019, 10:52 a.m. |
+ 1 |
for Comment
amenokimy: Good code! "stack.append(brackets[c])" is nice idea.
|
Aug. 28, 2019, 10:52 a.m. |
+ 1 |
for Comment
AlexGiesbrecht: I've though about dictionary with tuples as keys, with push/pop functions as values etc etc - but I ...
|
Aug. 28, 2019, 10:51 a.m. |
+ 1 |
for Comment
grutte_pier: Good idea to store the closing brackets - makes for exactly the simplification I knew existed, but d...
|
Aug. 28, 2019, 10:51 a.m. |
+ 1 |
for Comment
b-612: I noticed that fact) Really 'bit different') I even reproved myself after several in a row solutions...
|
Aug. 28, 2019, 10:29 a.m. |
+ 1 |
for Comment
bsquare: Ho ... you are playing with words too ^^
|
Aug. 28, 2019, 8:25 a.m. |
+ 1 |
for Comment
bsquare: Lol, ho yes I understand ^^ It was too early in the morning :D
|
Aug. 28, 2019, 8:23 a.m. |
+ 1 |
for Comment
bsquare: Lol, what the heck ... Your explanation are funny :) But, but, but ... aren't you using regex here ?...
|
Aug. 27, 2019, 3:34 p.m. |
+ 1 |
for Comment
RezoApio: took me longer to understand the true beauty of your code than coding my own solution ;-) Just aweso...
|
Aug. 24, 2019, 3:45 a.m. |
+ 3 |
for
Use your imagination-StefanPochmann
|
Aug. 23, 2019, 1:56 p.m. |
+ 1 |
for Comment
bsquare: Great with the generator ;)
|
Aug. 22, 2019, 7:38 p.m. |
+ 1 |
for Comment
Hilko: really concise and clean.
|
Aug. 22, 2019, 7:02 p.m. |
+ 1 |
for Comment
sanello: Very nice!
|
Aug. 22, 2019, 10:43 a.m. |
+ 1 |
for Comment
bsquare: Really great!!!
|
Aug. 20, 2019, 11:48 a.m. |
+ 1 |
for Comment
bsquare: Hey Veky. Nice solution as often. Clear and concise. Coming back from holidays I'll be able to keep ...
|
Aug. 20, 2019, 2:40 a.m. |
+ 1 |
for Comment
Little+cheng: Thank you very much! I am a beginner in python,your advice is very helpful to me.It's so cool: try: ...
|
Aug. 19, 2019, 6:28 p.m. |
+ 1 |
for Comment
Negamax: re.sub(r'(\w)\1?.', r'\1', phrase) The search pattern `r'(\w)\1?.'` means: 1. `r'string'`: "raw stri...
|
Aug. 19, 2019, 6:27 p.m. |
+ 1 |
for Comment
Negamax: Because the `(\w)\1?.` pattern matches to strings `hi`, `la`; as well as `eee`, `ooo` or `eeo` or `a...
|
Aug. 19, 2019, 6:27 p.m. |
+ 1 |
for Comment
Dr__ON: Thanks,bro! I understood indeed)
|
Aug. 15, 2019, 7:35 a.m. |
+ 2 |
for
First-mikejonson
|
Aug. 14, 2019, 7:48 a.m. |
+ 1 |
for Comment
Merendina: Thanks! I got it.
|
Aug. 13, 2019, 4:49 p.m. |
+ 1 |
for Comment
Splitter: Thank you very much. The formulas are fabulous and `pbs` implementation is nice and accurate.
|
Aug. 9, 2019, 10:11 a.m. |
+ 1 |
for Comment
bsquare: So funny^^
|
Aug. 8, 2019, 3:14 p.m. |
+ 1 |
for Comment
bsquare: @JaredGillespie I don't understand how YOU work ... How could you say something doesn't work without...
|
Aug. 8, 2019, 8:06 a.m. |
+ 1 |
for Comment
bsquare: 'The lack of it' seems more fair ^^ But I understand the 'feature' your are talking about ;)
|
Aug. 8, 2019, 7:43 a.m. |
+ 1 |
for Comment
pseidel: @bsquare, @veky: Thank you for the good conversation. It is certainly worthwhile for others to read ...
|
Aug. 8, 2019, 5:06 a.m. |
+ 1 |
for Comment
Amy_Oliver: Always learn lots from your code. Thanks very much.
|
Aug. 7, 2019, 11:10 p.m. |
+ 1 |
for Comment
bsquare: Seriously?! I saw some of your solutions, and generally understand them quite quickly with only my b...
|
Aug. 7, 2019, 2:50 p.m. |
+ 1 |
for Comment
bsquare: Yes I already did, and it makes me laugth ;)
|
Aug. 7, 2019, 2:42 p.m. |
+ 1 |
for Comment
bsquare: I guess to reach this goal with this evil solution ^^
|
Aug. 7, 2019, 5:31 a.m. |
+ 1 |
for Comment
mikael.desharnais: Indeed ! Very short and speedy. Well done
|
Aug. 6, 2019, 3:21 p.m. |
+ 1 |
for Comment
DragonMachinations: Thank you for posting this. This one reason I like this site. I managed to get my own solution as co...
|
Aug. 6, 2019, 8:05 a.m. |
+ 1 |
for Comment
Ilis: I'm not sure code should run if weekday == Sabbath.
|
Aug. 6, 2019, 8:04 a.m. |
+ 1 |
for Comment
n16bs: Haha just being cheeky man :p
|
Aug. 6, 2019, 7:49 a.m. |
+ 1 |
for Comment
Amy_Oliver: Helpful
|
Aug. 6, 2019, 7:48 a.m. |
+ 1 |
for Comment
Ilis: > Six days work shall be done, but on the seventh day you shall have a Sabbath of solemn rest, holy ...
|
Aug. 5, 2019, 10:33 p.m. |
+ 1 |
for Comment
DragonMachinations: Thank you for posting this. I knew there had to be a better way to do this than just using len, but ...
|
Aug. 5, 2019, 6:33 p.m. |
+ 1 |
for
digital clocks are easy to read. Are they not?!-niilz
|
Aug. 4, 2019, 6:31 p.m. |
+ 1 |
for Comment
Ilis: Interesting use of datetime.date.resolution
|
Aug. 4, 2019, 5:43 a.m. |
+ 1 |
for
Short and clear-Merzix
|
Aug. 4, 2019, 5:35 a.m. |
+ 3 |
for
~0my3[_p\x7f{-skunkfrukt
|
Aug. 3, 2019, 9:23 p.m. |
+ 1 |
for Comment
V.Shkaberda: I like how you click "Best solutions" without author displaying, see a sophisticated solution and ha...
|
Aug. 3, 2019, 3:53 p.m. |
+ 1 |
for Comment
Bernhard_Pfirsch: Wow!
|
Aug. 1, 2019, 2:43 p.m. |
+ 1 |
for Comment
bsquare: Thanks for this very very interesting post... Now It totally makes sense for me, and I will make my ...
|
July 31, 2019, 4:27 p.m. |
+ 3 |
for
[23 useful lines] '@:', cube coords & components with DFS-Phil15
|
July 26, 2019, 3:20 p.m. |
+ 1 |
for Comment
rus.zzzzz: Hello! According to the task description, input is a 2D-array. But the first test input is 4 1D-arra...
|
July 26, 2019, 4:03 a.m. |
+ 1 |
for Comment
GuilleMartinez_81d43ae455a74b2: Thanks for your feedback!
|
July 17, 2019, 2:48 p.m. |
+ 1 |
for Comment
Splitter: Did you use capitalize() instead of upper() in order to show that capitalize() lowers all symbols ex...
|
July 11, 2019, 8:10 a.m. |
+ 1 |
for Comment
kurosawa4434: Thank you very much. I also enjoyed the creation of this mission :-)
|
July 11, 2019, 6:45 a.m. |
+ 1 |
for Post
New Mission "Hexagonal Islands"
|
July 11, 2019, 6:21 a.m. |
+ 1 |
for Task
Hexagonal Islands
|
July 10, 2019, 5:16 p.m. |
+ 1 |
for Comment
bryukh: Oh, pep8online :-) I need update it with some new ideas (i almost forget about it). About solution -...
|
July 10, 2019, 4:20 p.m. |
+ 1 |
for Comment
illian2000: really ugly)
|
June 27, 2019, 9:19 p.m. |
+ 2 |
for
class VoiceCommand(list)-David_Jones
|
June 25, 2019, 8:50 a.m. |
+ 1 |
for Comment
ecarloshanson: Very clean.
|
June 24, 2019, 6:24 a.m. |
+ 1 |
for Comment
Trebor: Short and clear solution
|
June 19, 2019, 8:21 a.m. |
+ 1 |
for Comment
jcfernandez: Since the precondition for this mission states that are elements are hashables, wouldn't be simpler ...
|
June 14, 2019, 6:10 p.m. |
+ 1 |
for Comment
Ephemeral: Awesome, simple solution!
|
June 13, 2019, 2:18 p.m. |
+ 1 |
for Comment
quarkov: No need to spend 30 mins to watch the whole video since my solution conflicts with the Python Zen pr...
|
June 12, 2019, 7:16 p.m. |
+ 3 |
for
13-liner: justify yourself-przemyslaw.daniel
|
June 12, 2019, 7:13 p.m. |
+ 3 |
for
textwrap.wrap-David_Jones
|
June 12, 2019, 2:05 p.m. |
+ 1 |
for Comment
Bettergears: This is a fantastic answer. It sets up a framework to have Python do what we are asked to do and it'...
|
June 11, 2019, 7:29 a.m. |
+ 1 |
for Comment
pherapont: Thank you! This is a very interesting solution.
|
June 10, 2019, 2:50 p.m. |
+ 1 |
for
GCD spaced-Tinus_Trotyl
|
June 8, 2019, 6:31 a.m. |
+ 1 |
for Comment
pherapont: Thank You for your solutions. They help to understand Python much deeper.
|
June 6, 2019, 4:56 a.m. |
+ 1 |
for Comment
VangaroooYamada: I see! I think I could use CheckiO in order to know other's more creative and simple codes. And than...
|
June 5, 2019, 6:24 p.m. |
+ 1 |
for Comment
wasd: Thanks for making me better
|
June 2, 2019, 6:53 a.m. |
+ 1 |
for Comment
9Teen90Three: In community of foreigners such as CheckIO it is a special pleasure when not complicated task comes ...
|
May 30, 2019, 1 p.m. |
+ 1 |
for Comment
juestr: I thought about this too and it works atm, but maketrans is not defined for the case of an inconsist...
|
May 25, 2019, 6:43 a.m. |
+ 1 |
for Comment
hao.daniel: Wow! It just blow me away. (in good sense) So much to learn... but life is so short...
|
May 15, 2019, 11:41 a.m. |
+ 1 |
for Comment
hugoboss: OK
|
May 15, 2019, 11:38 a.m. |
+ 1 |
for Comment
z.thami: Nice!
|
May 14, 2019, 3:28 p.m. |
+ 1 |
for Comment
Ylliw: Very tricky, I like it
|
May 14, 2019, 11:06 a.m. |
+ 1 |
for Comment
lpotahina: "data.get" could be used instead of "data.__getitem__"
|
May 14, 2019, 7:04 a.m. |
+ 1 |
for Comment
htamas: Only to Shakespeare and only after doing a google search :). (Though, in my defense, I never read Sh...
|
May 14, 2019, 7 a.m. |
+ 1 |
for Comment
chzzz: nice
|
May 14, 2019, 7 a.m. |
+ 1 |
for Comment
Juge_Ti: I guess we have the same source ;-)
|
May 14, 2019, 6:59 a.m. |
+ 1 |
for Comment
stum74: Hey. Why is there no parity check in the code? And why is he working at the same time?
|
May 14, 2019, 6:58 a.m. |
+ 1 |
for Comment
Paul-Yuchao-Dong: "~" rules! And the explanation above by Veky really showed a different way to look at integers. My l...
|
May 14, 2019, 6:58 a.m. |
+ 1 |
for Comment
sirajul_islam_anik: That's a great answer. If someone is confused about the tilde "~" operator, then ~ is equivalent to ...
|
May 14, 2019, 6:56 a.m. |
+ 1 |
for Comment
alexkindel: Is there no concern that the argument is being modified?
|
May 14, 2019, 6:54 a.m. |
+ 1 |
for Comment
guido: This solution is awesome! I just have one (software engineering) suggestion -- find a better name fo...
|
May 14, 2019, 6:52 a.m. |
+ 1 |
for Comment
fniksic: Suboptimal. There is a linear solution.
|
May 11, 2019, 4:10 a.m. |
+ 2 |
for
First-tanya
|
May 6, 2019, 8:07 a.m. |
+ 3 |
for
First-tomo_a
|
May 1, 2019, 2:03 a.m. |
+ 1 |
for Comment
johnAndOrange: seeing your answer to the fellow of my country,i think that you are so kind and friendly :) thanks f...
|
April 30, 2019, 4:53 p.m. |
+ 1 |
for Comment
Czarinov: Yep, gotta up my game! lambda and batteries everywhere!
|
April 30, 2019, 4:51 p.m. |
+ 1 |
for Comment
hao.daniel: Wow! That's cool!
|
April 30, 2019, 6:39 a.m. |
+ 1 |
for Comment
Ilis: Oh, my bad. I didn't pay enough attention when reading the task and docs :) So, question is resolved...
|
April 28, 2019, 7:31 p.m. |
+ 1 |
for Comment
PHANTOM0308: Damn! Got it.
|
April 25, 2019, 10:02 a.m. |
+ 1 |
for Comment
Oksana_Antropova: Your second solution can be extended for the general case, though: from itertools import accumulate ...
|
April 24, 2019, 2:35 p.m. |
+ 1 |
for Comment
juestr: Well in theory there are sorting solutions O(n) in time, but they assume a bounded key size and are ...
|
April 19, 2019, 5:03 p.m. |
+ 1 |
for Comment
alabama_09: Nice! Using 'any' function is a very elegant solution for this mission and also comfortable to read ...
|
April 17, 2019, 7:45 p.m. |
+ 1 |
for Comment
taras-sereda: Totally agree with you. Thanks for conversation!
|
April 17, 2019, 12:29 p.m. |
+ 1 |
for Comment
b-612: ) Nice shortener!) I didn't know before about this hint with lambda as argument in another one.) You...
|
April 17, 2019, 12:29 p.m. |
+ 1 |
for Comment
StefanPochmann: Hmm... how did you get that here? The function name is wrong, the return type is wrong, and I just t...
|
April 13, 2019, 6:26 a.m. |
+ 1 |
for Comment
mlb00: wow that's really cool. thanks for the very clear explanation!
|
April 12, 2019, noon |
+ 1 |
for Comment
Alesei: Perfecto!!!
|
April 10, 2019, 12:59 p.m. |
+ 1 |
for Comment
Oleg_Novikov: clear solution
|
April 10, 2019, 7:31 a.m. |
+ 1 |
for Comment
vadim.kashko: good)
|
April 6, 2019, 1:59 p.m. |
+ 1 |
for Comment
vlad.bezden: I really like your line: from time import strftime as to, strptime as from_
|