April 7, 2015, 11:18 p.m. |
+ 1 |
for Comment
veky: Few nitpicks: * romanNumeralMap really should be a dict. Yes, I know it won't be sorted, but you can...
|
April 7, 2015, 12:59 p.m. |
+ 1 |
for Comment
veky: Ok, first: Too. Many. Comments. Really. This is not C, where you write the code primarily for the pr...
|
April 7, 2015, 11:49 a.m. |
+ 1 |
for Comment
Eldin: Nice work using the set and generator!
|
April 7, 2015, 11:34 a.m. |
+ 1 |
for Comment
Cjkjvfnby: http://www.checkio.org/forum/post/1618/proper-way-to-check-if-sequence-is-empty/
|
April 2, 2015, 8:32 p.m. |
+ 1 |
for Comment
Cjkjvfnby: string formatting will make it more readable '%c%c'. you can use set methods to find intersection.
|
April 2, 2015, 8:24 p.m. |
+ 1 |
for Comment
mlb00: This is a nice solution but PEP 8 should be encouraged, especially since this site is to promote cod...
|
March 29, 2015, 12:32 p.m. |
+ 1 |
for Comment
voroninman_c8846b1d0ba947a4823: You should cache text.lower() instead of copying strings in a loop.
|
March 27, 2015, 2:15 p.m. |
+ 1 |
for Comment
suic: Hi, consider the fact, that __str__ is immutable in Python. And look at _filter()_ function or _list...
|
March 27, 2015, 2:11 p.m. |
+ 1 |
for Comment
suic: Hi, you can write: count += chunk.isalpha() # instead of: count = count+1 if chunk.isalpha() else 0
|
March 27, 2015, 2:05 p.m. |
+ 1 |
for Comment
suic: Hi, instead of lines 2, 4-6 you can write this: return sum(word in ltext for word in words)
|
March 26, 2015, 9:07 p.m. |
+ 1 |
for Comment
dfridman: I'm just learning and I usually come to the solutions to see how more experienced people do it. I of...
|
March 26, 2015, 6:22 p.m. |
+ 1 |
for Comment
e.roboda: speedy? ... text.lower() proceed in every loop :(
|
March 26, 2015, 5:13 p.m. |
+ 1 |
for Comment
nennogabriel: nice trick with sun(array[-1:])
|
March 26, 2015, 2:54 p.m. |
+ 1 |
for Comment
koxt: solution is too smart to be clear
|
March 26, 2015, 2:54 p.m. |
+ 1 |
for Comment
RonHelms: clever! not sure it would be easy to debug, and it is not the clearest implementation. But it is def...
|
March 26, 2015, 2:53 p.m. |
+ 1 |
for Comment
Slausbang: Definitely creative, but I'm not sure it's very clear.
|