Oct. 2, 2016, 6:28 a.m. |
+ 1 |
for Comment
veky: > So you say that it should work also without r=r and neither you don’t know why it isn’t? Either I ...
|
Oct. 2, 2016, 6:28 a.m. |
+ 1 |
for Comment
veky: You're very close, but not quite there. The point is not that r was named as an _argument_: function...
|
Oct. 2, 2016, 6:05 a.m. |
+ 1 |
for Comment
tdietert: So brilliantly brilliant... I spent 4 hours on this challenge and wrote 100+ lines of code attemptin...
|
Oct. 1, 2016, 2:33 a.m. |
+ 1 |
for Comment
tdietert: I really like this solution. It's very readable and much more concise than my monstrosity. I went ab...
|
Oct. 1, 2016, 2:30 a.m. |
+ 1 |
for Comment
Cjkjvfnby: Comment is not so good
|
Sept. 24, 2016, 2:38 a.m. |
+ 1 |
for Comment
veky: I don't think a book would help you much. But you can try with "Effective Python" by Slatkin, if you...
|
Sept. 24, 2016, 2:28 a.m. |
+ 1 |
for Comment
maurice.makaay: This does not deserve the category _Clear_ IMO. This kind of logic: chr(ord(pawn[0])-1)+str(int(pawn...
|
Sept. 24, 2016, 2:27 a.m. |
+ 1 |
for Comment
Kerulen: Thank you for the advice
|
Sept. 23, 2016, 2:45 a.m. |
+ 1 |
for Comment
chejiobek3: Yeah, you're absolutly right. The code I wrote seems awkward and even not Pythonic. I dont know how ...
|
Sept. 20, 2016, 5:18 p.m. |
+ 1 |
for Comment
veky: Happens to many people. My memory is very associative, I know all Python documentation by heart, and...
|
Sept. 13, 2016, 6:09 a.m. |
+ 1 |
for Comment
veky: Thank you very much (and for +es on the other comments;). Just for the record, my intention is not r...
|
Sept. 13, 2016, 6:09 a.m. |
+ 1 |
for Comment
veky: You're making yourself jump through hoops without any reason. I hate when people deliberately tie th...
|
Sept. 12, 2016, 2:25 a.m. |
+ 1 |
for Comment
macfreek: **s[i:j:k]** is the slice of **s** from *i* to *j* with step *k* (according to the [Python documenta...
|
Sept. 12, 2016, 2:21 a.m. |
+ 1 |
for Comment
Cjkjvfnby: Set -1 because **len(array) == 0** PEP8: For sequences, (strings, lists, tuples), use the fact that ...
|
Sept. 11, 2016, 8:01 p.m. |
+ 1 |
for Comment
veky: Ok, beside being of quadratic complexity, this one adds yet another slowdown in the form of slicing....
|
Sept. 11, 2016, 3:11 p.m. |
+ 1 |
for Comment
veky: For me, it's other way around: "why use def when you can use lambda?". :-]] Namely, you can use def ...
|