Nov. 23, 2017, 1:43 p.m. |
+ 1 |
for Comment
veky: Very simple, and I'm actually surprised it works. :-) Few details: line 6: "continue" would much bet...
|
Nov. 10, 2015, 4:54 a.m. |
+ 1 |
for Comment
M157q: Almost same as my solution. Though the different part is the `names()` function. You don't need `red...
|
Oct. 5, 2015, 4:40 a.m. |
+ 1 |
for Comment
sistem13: my decision, same. def checkio(a, b): a = a.split(',') b = b.split(',') result = [x for x in a if x ...
|
July 23, 2015, 1:06 a.m. |
+ 1 |
for Comment
texom512: Short and simple, great! But I give only one point, because it's absolutely not clear...
|
July 9, 2015, 8:29 a.m. |
+ 1 |
for Comment
Cjkjvfnby: There is function in standard library that do the same as **lambda x: abs(x)** you should use it ins...
|
July 9, 2015, 8:29 a.m. |
+ 1 |
for Comment
siebenschlaefer: FYI: ``lambda x: abs(x)`` is equivalent to ``abs``.
|
June 24, 2015, 1:16 a.m. |
+ 1 |
for Comment
hrvoje: The dramatic DIE in the end is a nice touch :)
|
April 23, 2015, 2:42 p.m. |
+ 1 |
for Comment
FalconJab: Good but the class can be called checkio already, no need for the function ;)
|
Feb. 25, 2015, 12:59 a.m. |
+ 1 |
for Comment
bryukh: You can use enumerate for 15-16, 27-28 and 35-36 lines.
|
Feb. 14, 2015, 3:06 p.m. |
+ 1 |
for Comment
guido: Nice use of defaultdict(set), and I like the optimization of subtracting the best trace from all_nod...
|
Feb. 7, 2015, 2:19 p.m. |
+ 1 |
for Comment
suic: Hi, it's subjective but it would be nicer to repace lines 11-15 with a generator expression and sum:...
|
Feb. 6, 2015, 1:28 a.m. |
+ 1 |
for Comment
veky: Nice UF. But of course you don't need a class. Line 44: You don't need `list()`. In fact you don't n...
|
Nov. 7, 2014, 9:31 a.m. |
+ 1 |
for Comment
maurice.makaay: The algorithm is not fully correct it seems. print(decode_vigenere( "DOESNOTWORKINALLCASES", "RVSZBV...
|
Nov. 4, 2014, 1:01 a.m. |
+ 1 |
for Comment
frichard44: line 7: s[1:] returns empty list if s i empty (so the if s else '' is useless)
|
Oct. 8, 2014, 1:03 a.m. |
+ 1 |
for Comment
Cjkjvfnby: You solution is potentialy wrong. In precondition: string.ascii_letters + **string.punctuation** You...
|
Sept. 27, 2014, 9:07 a.m. |
+ 1 |
for Comment
DiZ: Here your 'encode/decode' methods are literally the same except '+1/-1' offset. Better to factorize ...
|
Sept. 20, 2014, 4:25 a.m. |
+ 1 |
for Comment
veky: Here is your code, halved: import itertools, operator def trim(lists): if lists: first, *rest = list...
|
Sept. 18, 2014, 11:42 a.m. |
+ 1 |
for Comment
ciel: As a note: [ch for ch in message.lower() if ch in dictionary] can be written as: [ch for ch in messa...
|