June 19, 2020, 12:51 p.m. |
+ 5 |
for
sorted == words-flpo
|
April 15, 2020, 1:11 p.m. |
+ 1 |
for Comment
Guty: Nice, clear solution.
|
April 13, 2020, 11:38 a.m. |
+ 5 |
for
all-kurosawa4434
|
April 9, 2020, 9:33 p.m. |
+ 3 |
for
one-liner-tom-tom_f993b3abc4814d4cb5476e
|
Nov. 10, 2019, 5:18 p.m. |
+ 1 |
for Comment
plodzik: I have hard time understanding that :(
|
March 30, 2019, 3:18 p.m. |
+ 4 |
for
Simple-Fermax
|
March 24, 2019, 2:21 p.m. |
+ 4 |
for
First-yoichi
|
March 24, 2019, 2:21 p.m. |
+ 1 |
for Comment
ARTIsshoque: Hello. It's very good that your code is so easy to read, but I'll offer some improvements, if you do...
|
March 24, 2019, 2:01 p.m. |
+ 4 |
for
First-martin_b
|
March 24, 2019, 2 p.m. |
+ 1 |
for Comment
luoq24: too hard to read
|
March 24, 2019, 2 p.m. |
+ 1 |
for Comment
oduvan: omg
|
March 21, 2019, 8:55 p.m. |
+ 1 |
for
First-aleksandr.zaytcev
|
March 21, 2019, 6:32 p.m. |
+ 4 |
for
12-liner: recursive-przemyslaw.daniel
|
Feb. 10, 2019, 9:26 a.m. |
+ 2 |
for
Done-nikita.dzhigir
|
Feb. 10, 2019, 9:24 a.m. |
+ 4 |
for
[v3] 1-liner: count odd divisors (the naive way)-Phil15
|
Jan. 30, 2019, 6:40 a.m. |
+ 1 |
for Comment
vmiimu: Reading below should clear up the return on line #3: * [f strings](https://realpython.com/python-f-s...
|
Dec. 29, 2018, 9:38 a.m. |
+ 1 |
for Comment
BrianMcleod: This looks good. I have 2 comments. Before Python 3.7, depending on the order of the dictionary for ...
|
Dec. 27, 2018, 1:05 p.m. |
+ 4 |
for
First-fed.kz
|
Dec. 27, 2018, 12:21 p.m. |
+ 4 |
for
using OrderedDict-Merzix
|
Dec. 22, 2018, 6:25 p.m. |
+ 1 |
for Comment
cmakr: even though it is working, the definition screams for the use of a tuple instead of a list. Using a ...
|
Nov. 3, 2018, 6:28 p.m. |
+ 4 |
for
Stack-veky
|
Oct. 29, 2018, 2:45 p.m. |
+ 1 |
for Comment
Parzifal: Just about the indexes. You renamed m,n to a,b for seemingly no advantage?
|
Oct. 29, 2018, 2:42 p.m. |
+ 1 |
for Comment
mr.fieldsiii: I had to look up "^". Completely forgot about it.
|
Oct. 25, 2018, 12:44 p.m. |
+ 1 |
for Comment
Parzifal: Nice, but why the renaming?
|
Oct. 24, 2018, 6:36 a.m. |
+ 1 |
for Comment
alexandrov.net: interesting way) team = team | names
|
Oct. 15, 2018, 8:03 p.m. |
+ 4 |
for
First-gyahun_dash
|
Oct. 14, 2018, 3:58 p.m. |
+ 4 |
for
Double loop-bryukh
|
Oct. 10, 2018, 6:54 p.m. |
+ 1 |
for Comment
Phil15: Yes I can. First, if you don't know very well lambdas, it's like def secret_room(door): return sum(w...
|
Oct. 10, 2018, 6:53 p.m. |
+ 1 |
for Comment
Tinus_Trotyl: Yeah right, blinded by the light I guess, thanks :-)
|
Oct. 3, 2018, 6:54 a.m. |
+ 3 |
for
Second-Tinus_Trotyl
|
Oct. 3, 2018, 6:39 a.m. |
+ 2 |
for
sum bool-Phil15
|
Oct. 1, 2018, 7:45 a.m. |
+ 2 |
for
min of dict of enumerate of zip of splitlines of strip by count of columns of argument of key of min-veky
|
Sept. 28, 2018, 12:14 p.m. |
+ 2 |
for
First-grinder_man79
|
Sept. 19, 2018, 5:15 a.m. |
+ 1 |
for Comment
JimmyCarlos: Good code, especially in the fight function. Lines 51-54 could be rewritten as: return len(army1.uni...
|
Sept. 18, 2018, 8:16 a.m. |
+ 1 |
for Comment
ural_gorets: Looks beautiful! I should format my code like that too.
|
Sept. 18, 2018, 8:16 a.m. |
+ 3 |
for
Army Battles-JimmyCarlos
|
Sept. 16, 2018, 1:36 p.m. |
+ 3 |
for
cycle(Lamp.sequence)-flpo
|
Sept. 16, 2018, 9:47 a.m. |
+ 3 |
for
Using time module-quarkov
|
Sept. 16, 2018, 5:31 a.m. |
+ 3 |
for
First-kurosawa4434
|
Sept. 16, 2018, 4:51 a.m. |
+ 3 |
for
Roman order-Pashkin
|
Sept. 15, 2018, 9:40 a.m. |
+ 3 |
for
7-liner: based on best Roman Numerals solution-przemyslaw.daniel
|
Sept. 14, 2018, 5:17 p.m. |
+ 1 |
for Comment
Merzix: It`s more effective to allocate resources (like "not_repeated = []") after if-statemaent with return...
|
Sept. 14, 2018, 5:16 p.m. |
+ 1 |
for Comment
Merzix: 101% readable
|
Sept. 14, 2018, 5:14 p.m. |
+ 1 |
for Comment
Merzix: is_alive better to make a property @property def is_alive(self): return self.hp > 0 your code allows...
|
Sept. 14, 2018, 7:02 a.m. |
+ 3 |
for
First-Moff
|
Sept. 13, 2018, 10:12 a.m. |
+ 3 |
for
First-Moff
|
Sept. 9, 2018, 9:22 a.m. |
+ 3 |
for
Using set for sequence matching test. Set have to be equal to one.-von.Oak
|
Sept. 6, 2018, 4:43 a.m. |
+ 1 |
for Comment
yoichi: For example, `'+[^0-9a-z]*'.join('help') = 'h+[^0-9a-z]*e+[^0-9a-z]*l+[^0-9a-z]*p'` does match with ...
|
Sept. 5, 2018, 10:03 a.m. |
+ 3 |
for
First-yoichi
|
Sept. 5, 2018, 8:23 a.m. |
+ 3 |
for
xs, ys = zip(*grounds)-flpo
|
Sept. 2, 2018, 3:10 p.m. |
+ 2 |
for
Third-Sim0000
|
Sept. 2, 2018, 3:06 p.m. |
+ 3 |
for
First-artur_mierzwa
|
Sept. 2, 2018, 2:18 p.m. |
+ 1 |
for Comment
grackhack: Одним словом хрен поймешь сразу. )))
|
Sept. 2, 2018, 1:15 p.m. |
+ 3 |
for
short and clear-StefanPochmann
|
Sept. 2, 2018, 11:49 a.m. |
+ 3 |
for
First-tamacjp
|
Sept. 2, 2018, 11:48 a.m. |
+ 1 |
for Task
The Hamming Distance
|
Sept. 2, 2018, 11:47 a.m. |
+ 1 |
for Comment
fed.kz: You could replace the expression in a line 4: not (y < 20 or y > 40) in another 20 <= y <= 40 On exa...
|
Sept. 2, 2018, 9:06 a.m. |
+ 3 |
for
First-Merzix
|
Aug. 30, 2018, 7:21 a.m. |
+ 3 |
for
calendar.weekday-gyahun_dash
|
Aug. 30, 2018, 6:38 a.m. |
+ 3 |
for
First-k_dutch
|
Aug. 30, 2018, 6:20 a.m. |
+ 1 |
for
self-explanatory-1-more
|
Aug. 30, 2018, 6:20 a.m. |
+ 3 |
for
First-Moff
|
Aug. 30, 2018, 6:20 a.m. |
+ 2 |
for
First-lukasz.bogaczynski
|
Aug. 30, 2018, 6:20 a.m. |
+ 1 |
for
Simple recursion-hanpari
|
Aug. 28, 2018, 8:25 a.m. |
+ 3 |
for
Bellman–Ford-ish (short)-StefanPochmann
|
Aug. 28, 2018, 8:18 a.m. |
+ 1 |
for Comment
StefanPochmann: It's a loop that runs as many times as there are edges in the network. If you're wondering about the...
|
Aug. 28, 2018, 8:16 a.m. |
+ 1 |
for Post
Proper way to check if sequence is empty.
|
Aug. 28, 2018, 8:08 a.m. |
+ 1 |
for Comment
Sim0000: |= is set operation update. A = {1,2,3} and B = {3,4,5}, then result of A |= B is A = {1,2,3,4,5}. A...
|
Aug. 26, 2018, 11:27 a.m. |
+ 3 |
for
Straightforward-nickie
|
Aug. 25, 2018, 5:02 p.m. |
+ 2 |
for
First-makoto_yamagata
|
Aug. 25, 2018, 8:46 a.m. |
+ 2 |
for
title-yoichi
|
Aug. 24, 2018, 3:11 p.m. |
+ 2 |
for
First-gyahun_dash
|
Aug. 24, 2018, 2:44 p.m. |
+ 2 |
for
First-Moff
|
Aug. 24, 2018, 10:35 a.m. |
+ 2 |
for
Regular Expressions-PositronicLlama
|
Aug. 22, 2018, 9:07 a.m. |
+ 2 |
for
Lefts and rights separately-Lemmi
|
Aug. 15, 2018, 7:01 a.m. |
+ 2 |
for
First-Sim0000
|
Aug. 15, 2018, 6:35 a.m. |
+ 2 |
for
Simulated-PositronicLlama
|
Aug. 12, 2018, 3:16 p.m. |
+ 2 |
for
First-RRRQ
|
Aug. 2, 2018, 11:56 a.m. |
+ 1 |
for Task
Feed Pigeons
|
July 27, 2018, 8:02 a.m. |
+ 2 |
for
First-yuwai
|
July 21, 2018, 11:07 a.m. |
+ 2 |
for
First-bukebuer
|
July 21, 2018, 10:05 a.m. |
+ 2 |
for
Both sides-veky
|
July 17, 2018, 10:09 a.m. |
+ 1 |
for
First-Rounin
|
July 17, 2018, 10:09 a.m. |
+ 2 |
for
First-DeCooper
|
July 17, 2018, 10:09 a.m. |
+ 2 |
for
First-CosimoOne
|