Dec. 4, 2015, 3:02 a.m. |
+ 1 |
for Comment
veky: First, it seems that "boundaries" between your lists mean precisely nothing. I would therefore advis...
|
Dec. 3, 2015, 7:24 a.m. |
+ 4 |
for
Boo-Pouf
|
Dec. 3, 2015, 5:41 a.m. |
+ 4 |
for
Finite state machine-veky
|
Dec. 3, 2015, 2:04 a.m. |
+ 4 |
for
Encode and check-veky
|
Nov. 20, 2015, 8:58 a.m. |
+ 4 |
for
Obvious-veky
|
Nov. 20, 2015, 8:29 a.m. |
+ 4 |
for
First-tihenko
|
Nov. 19, 2015, 6:59 a.m. |
+ 2 |
for
First-yukirin
|
Nov. 19, 2015, 6:58 a.m. |
+ 2 |
for
Solution for anything Class-based.-diegueus9
|
Nov. 19, 2015, 6:56 a.m. |
+ 1 |
for Comment
dydemin: I'm not good in python, so I spend some time to make my first solution. But this code is much more t...
|
Nov. 19, 2015, 6:56 a.m. |
+ 1 |
for Comment
mreinhardt: If you're new to Python, you shouldn't be overloading all comparison operators to return True, so I ...
|
Nov. 19, 2015, 6:55 a.m. |
+ 2 |
for
First-Sim0000
|
Nov. 19, 2015, 5:01 a.m. |
+ 2 |
for
First-Kurush
|
Nov. 19, 2015, 4:55 a.m. |
+ 2 |
for
Clear and short-AntoniGoldstein
|
Nov. 18, 2015, 9:02 a.m. |
+ 1 |
for Comment
veky: You're reading too much into it. Go, look at official text of [PEP#20](https://www.python.org/dev/pe...
|
Nov. 18, 2015, 6:26 a.m. |
+ 1 |
for Comment
veky: Thanks, you're the first to congratulate me. :-) Here is a nice trivia about that number: do you kno...
|
Nov. 18, 2015, 6:26 a.m. |
+ 1 |
for Comment
veky: Cool idea. ;-)
|
Nov. 18, 2015, 6:26 a.m. |
+ 1 |
for Comment
veky: No, that trivia is not explicitly[:-P] related to your solution. It's related to your congratulation...
|
Nov. 18, 2015, 5:56 a.m. |
+ 1 |
for Comment
veky: Yes, just reversing place values (`18**0` and `18**1`) would do the trick (of removing string revers...
|
Nov. 18, 2015, 2:03 a.m. |
+ 1 |
for Comment
veky: Wow! Very original. :-) Just a few nitpicks: * please, no space before lambda's colon. * `any` accep...
|
Nov. 17, 2015, 8:45 a.m. |
+ 3 |
for
o, safe pawns...-veky
|
Nov. 17, 2015, 2:20 a.m. |
+ 1 |
for
First-JackyCore
|
Nov. 12, 2015, 7:56 a.m. |
+ 1 |
for Comment
veky: You did not use it wrong. I just thought you didn't _have_ to use it. But in fact I was wrong. Here ...
|
Nov. 12, 2015, 7:42 a.m. |
+ 1 |
for Comment
veky: Thank you. :-) I code for almost 30 years now - tried many languages, was good in many of them, but ...
|
Nov. 12, 2015, 7:37 a.m. |
+ 1 |
for Comment
jcook00: solutions like this seem less complex than the longer ones. but, it requires knowing things about th...
|
Nov. 12, 2015, 7:30 a.m. |
+ 1 |
for Comment
bryukh: Just practice and practice and one moment you will boring to write "just code" and will learn someth...
|
Nov. 12, 2015, 7:29 a.m. |
+ 1 |
for Comment
bryukh: Yeah, I have >5year in python but reread documentation still :-)
|
Nov. 12, 2015, 7:24 a.m. |
+ 1 |
for Comment
bryukh: "max" iterate through *ascii_lowercase*. Each letter (a, b, c etc) is processing by "text.count(lett...
|
Nov. 12, 2015, 7:21 a.m. |
+ 1 |
for Comment
bryukh: "key" is not an ordering function. It does not like to Java or JS, where we use "compare" function. ...
|
Nov. 12, 2015, 7:20 a.m. |
+ 1 |
for Comment
bryukh: I wrote it in the docstring.
|
Nov. 12, 2015, 7:18 a.m. |
+ 3 |
for
max-count-bryukh
|
Nov. 12, 2015, 3:21 a.m. |
+ 1 |
for Comment
veky: Ok, there are two things to consider. # Capturing natural levels of abstraction First, look at this:...
|
Nov. 12, 2015, 3:15 a.m. |
+ 1 |
for Comment
veky: Why not? It's an expression. lambda is the most natural way of writing expressions with arguments. I...
|
Nov. 12, 2015, 3:15 a.m. |
+ 1 |
for Comment
veky: Nothing special, just a local song. But you can play "Take my breath away" instead if you want. :-)
|
Nov. 12, 2015, 3:13 a.m. |
+ 3 |
for
First we take Manhattan...-veky
|
Nov. 12, 2015, 3:09 a.m. |
+ 1 |
for
First-bukebuer
|
Nov. 12, 2015, 3 a.m. |
+ 1 |
for Comment
LostxinthexMusic: Keep in mind that more lines does not always mean worse code! You can make your code make sense to a...
|
Nov. 12, 2015, 2:27 a.m. |
+ 1 |
for Comment
veky: It seems you're trying to golf. In that case, `>9and` is three characters shorter than `>=10 and`. ;...
|
Nov. 12, 2015, 1:11 a.m. |
+ 1 |
for Comment
imcapableofanything: nice
|
Nov. 11, 2015, 9:14 a.m. |
+ 3 |
for
slice-gyahun_dash
|
Nov. 11, 2015, 9:08 a.m. |
+ 1 |
for Comment
veky: Slicing is better than indexing by range. And you don't need those mins then.
|
Nov. 11, 2015, 8:41 a.m. |
+ 3 |
for
First-gyahun_dash
|
Nov. 11, 2015, 7:19 a.m. |
+ 1 |
for Comment
veky: Not magic, just illusionism, as I like to say. :-) Write code, see what's repeated, factor it out; w...
|
Nov. 11, 2015, 7:06 a.m. |
+ 3 |
for
CNF-veky
|
Nov. 11, 2015, 6:35 a.m. |
+ 1 |
for Comment
DanielDou: This is very clever code. :) Gave you a thumbs up! But the flaw in it seems you can bypass those con...
|
Nov. 11, 2015, 4:59 a.m. |
+ 1 |
for Comment
veky: First, I don't think you really do (need to google that). From the title and the context, I assume y...
|
Nov. 11, 2015, 4:44 a.m. |
+ 2 |
for
Both sides-veky
|
Nov. 11, 2015, 2:45 a.m. |
+ 1 |
for Comment
veky: Thanks. Though... It always puzzles me when people obviously like my solution, but don't give it thu...
|
Nov. 11, 2015, 2:38 a.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 ...
|
Nov. 11, 2015, 2:35 a.m. |
+ 2 |
for
~Shortest-veky
|
Nov. 9, 2015, 8:02 a.m. |
+ 2 |
for
Hinted-veky
|
Nov. 9, 2015, 6:28 a.m. |
+ 1 |
for Comment
veky: Well, it doesn't contain the letter j. So it is not a pangram. Do you see a letter j up there?
|
Nov. 9, 2015, 6:21 a.m. |
+ 1 |
for Comment
veky: > I know writing ‘ab~~yz’ in python code is a bad idea, but I can’t find the solution. That's intere...
|
Nov. 9, 2015, 5:21 a.m. |
+ 2 |
for
Hinted-veky
|
Nov. 9, 2015, 2:50 a.m. |
+ 2 |
for
Subset-veky
|
Nov. 9, 2015, 2:01 a.m. |
+ 1 |
for Comment
veky: Yes, English has become the World language - although Mandarin is spoken by more people, English is ...
|
Nov. 6, 2015, 8:01 a.m. |
+ 1 |
for Comment
veky: No, I'm from Croatia. But I have learned English for a long time at school, and I participate in man...
|
Nov. 6, 2015, 7:50 a.m. |
+ 1 |
for Comment
veky: Don't worry about English... people tell me my English is not well too, but I don't feel bad about i...
|
Nov. 6, 2015, 7:50 a.m. |
+ 1 |
for Comment
veky: Nice. BTW squeezed-space operators like ** and even > can be ok, but after the colon there should re...
|
Nov. 6, 2015, 7:45 a.m. |
+ 1 |
for Comment
veky: No problem. I do that to almost everyone who start following me. :-) (But only once. In the future, ...
|
Nov. 6, 2015, 7:45 a.m. |
+ 1 |
for Comment
veky: First, don't map lambda, use genexps: tuple(map(lambda x: number%x == 0, [3,5])) ~~~> tuple(not numb...
|
Nov. 6, 2015, 7:44 a.m. |
+ 1 |
for Comment
veky: :-) If you're going to use `len() and`, you can use it in at least two other missions. Try to find t...
|
Nov. 6, 2015, 7:44 a.m. |
+ 1 |
for Comment
veky: That's a nice ambition, but there are really _many_ tasks here. :-)
|
Nov. 6, 2015, 7:44 a.m. |
+ 1 |
for Comment
veky: By my last count, about 250. :-P
|
Nov. 6, 2015, 7:43 a.m. |
+ 1 |
for Comment
veky: BTW, all these "got it, ok, thank you, you're right man, ..." comments can be better expressed by si...
|