May 28, 2015, 2:47 p.m. |
+ 1 |
for
Empire of Code - Space Strategy Game from CheckiO
|
May 27, 2015, 4:15 p.m. |
+ 1 |
for
First-samulih
|
May 27, 2015, 1:12 p.m. |
+ 1 |
for Comment
sidddhan: Why are you using magic numbers? The isalpha, islower and isupper built-in functions achieve the sam...
|
May 26, 2015, 5:17 p.m. |
+ 1 |
for Comment
veky: LOL. Do you have any idea how slow this is? Not to mention maintainability. :-D
|
May 26, 2015, 2:43 p.m. |
+ 2 |
for
Linguists Love Python-waxdesf
|
May 26, 2015, 2:41 p.m. |
+ 1 |
for
The Boolean Totology-waxdesf
|
May 26, 2015, 11:19 a.m. |
+ 1 |
for Comment
Cjkjvfnby: Good post about optimization but you missed with category. This solution does not supposed to use bi...
|
May 25, 2015, 9:01 p.m. |
+ 2 |
for
One line-VitGadurek
|
May 25, 2015, 8:30 p.m. |
+ 1 |
for
First-nntndfrk
|
May 25, 2015, 4:55 p.m. |
+ 1 |
for Comment
veky: "array approach" is a really strange name. I use the name "array" only because you used it in the co...
|
May 25, 2015, 4:55 p.m. |
+ 1 |
for Comment
veky: Speedy?? Calling len, range, indexing all the way, modulo, comparing, accessing elements by those in...
|
May 25, 2015, 4:54 p.m. |
+ 1 |
for Comment
veky: Quick, easy and wrong. Please don't use empty except. Many more things can go wrong than you think. ...
|
May 17, 2015, 12:27 p.m. |
+ 1 |
for Comment
StefanPochmann: cool story bro
|
May 13, 2015, 8:08 p.m. |
+ 1 |
for
First-m.r.corey
|
May 13, 2015, 7:22 p.m. |
+ 1 |
for Comment
StefanPochmann: You managed to make **the cow** wrong.
|
May 6, 2015, 5:09 p.m. |
+ 1 |
for Comment
veky: Again, noone mentions IDLE. I can't understand you people. :-) Until few months ago, when I had to s...
|
May 5, 2015, 12:48 p.m. |
+ 1 |
for Comment
veky: An aside: please don't use pop if you don't need the popped element. del is there for a reason, and ...
|
May 1, 2015, 7:10 p.m. |
+ 1 |
for Comment
veky: https://pbs.twimg.com/media/B-m5NG6UsAAkBX9.png:large ;-PP
|
April 29, 2015, 1:47 p.m. |
+ 2 |
for
A* path finding-skipla
|
April 27, 2015, 1:18 p.m. |
+ 2 |
for
Euler's gift-ciel
|
April 27, 2015, 9:50 a.m. |
+ 1 |
for Comment
lllz: What we see some professors doing is simply following their students from a current class. Thus when...
|
April 24, 2015, 8:12 p.m. |
+ 1 |
for Comment
veky: > It would be wrong, however; to learn that ‘lambda’ is english for funkce. ... in the same way as i...
|
April 24, 2015, 10:12 a.m. |
+ 1 |
for Task
Univocalic Factaral
|
April 23, 2015, 7:29 p.m. |
+ 1 |
for Comment
veky: Ok, there are two ways to read the documentation. One is "I need to do X, what is the Pythonic way t...
|
April 23, 2015, 2:14 p.m. |
+ 3 |
for
Nice mission -hanpari
|
April 23, 2015, 2:13 p.m. |
+ 3 |
for
1line-veky
|
April 23, 2015, 2:13 p.m. |
+ 3 |
for
str-DiZ
|
April 23, 2015, 2:12 p.m. |
+ 3 |
for
veky + DiZ + Stefan-StefanPochmann
|
April 23, 2015, 2:11 p.m. |
+ 2 |
for
First-Sim0000
|
April 22, 2015, 11:11 a.m. |
+ 1 |
for Post
complex
|
April 21, 2015, 2:39 p.m. |
+ 1 |
for Comment
DiZ: Suic said it all, so I will just add some advice. CheckiO provides a good number of challenges to te...
|
April 21, 2015, 2:34 p.m. |
+ 1 |
for Comment
DiZ: We can help you to achieve the solution, but, there is _no_ way to see publications before solving i...
|
April 20, 2015, 4:11 p.m. |
+ 1 |
for Comment
plane: max = int(len(data)/2) could be shortened to max = len(data) // 2
|
April 20, 2015, 2:23 p.m. |
+ 1 |
for
First-StereoCat
|
April 19, 2015, 10:16 p.m. |
+ 1 |
for Comment
veky: Of course. You're writing a middle-sized novel, instead of a program. This is _not_ what Knuth meant...
|
April 19, 2015, 9:34 p.m. |
+ 2 |
for
Lookup-veky
|
April 19, 2015, 1:12 p.m. |
+ 1 |
for Comment
Arandomusername: That's a good argument(Even though I can't see any tuple in that solution except possibly strings as...
|
April 19, 2015, 1:12 p.m. |
+ 1 |
for Comment
Arandomusername: I'm not very good at testing either but this should be an alright testing environment: http://pasteb...
|
April 19, 2015, 1:12 p.m. |
+ 1 |
for Comment
Arandomusername: 1.Take a look at[ this](http://stackoverflow.com/questions/1349311/python-string-join-is-faster-than...
|
April 19, 2015, 10:32 a.m. |
+ 1 |
for Comment
StefanPochmann: > 1. size of all state > C(12,2)*C(10,2)*C(8,2)*C(6,2) = 1247400 Just a different way to calculate i...
|
April 19, 2015, 10:32 a.m. |
+ 1 |
for Post
Some statistic report about 88th puzzle
|
April 19, 2015, 10:32 a.m. |
+ 1 |
for Comment
Sim0000: Thanks for your comment. This result is the application of BFS. Starting from the goal, we produce a...
|
April 18, 2015, 10:12 p.m. |
+ 1 |
for Comment
Peter.White: Not very speedy. You are iterating over the whole text, which by definition must be at least as long...
|
April 18, 2015, 12:15 p.m. |
+ 1 |
for Comment
Pristine: You mean filter, right?
|
April 18, 2015, 11:15 a.m. |
+ 2 |
for
First-glukhenko
|
April 13, 2015, 10:28 p.m. |
+ 2 |
for
Alias-lukas.linhart
|
April 13, 2015, 10:25 p.m. |
+ 2 |
for
Shortest solution ever!-MMM_AAA_NNN
|
April 13, 2015, 5:29 p.m. |
+ 2 |
for
sorted args&kwargs-spoty
|
April 13, 2015, 5:14 p.m. |
+ 1 |
for
deque-spoty
|
April 13, 2015, 5:09 p.m. |
+ 2 |
for
Haversine-spoty
|
April 13, 2015, 4:43 p.m. |
+ 2 |
for
Winning Pattern style-hanpari
|
April 13, 2015, 3:12 p.m. |
+ 1 |
for Comment
bryukh: Did you see the error message? (after run in the right panel)
|
April 13, 2015, 3:12 p.m. |
+ 1 |
for Comment
DiZ: Don't _print_ your result, _return_ it.
|
April 13, 2015, 2:31 p.m. |
+ 1 |
for Comment
stalk: Hard to understand complicated one-line solutions
|
April 13, 2015, 2:17 p.m. |
+ 2 |
for
First-tnotstar
|
April 13, 2015, 2:08 p.m. |
+ 1 |
for Comment
andrey.soika: It is not python style.
|
April 13, 2015, 2:02 p.m. |
+ 1 |
for Comment
honza.huspeka: No need for 2 lines: return [x for x in data if data.count(x) > 1]
|
April 13, 2015, 2 p.m. |
+ 1 |
for Comment
TkdevelLinkd: data_freqdict is same as Counter from collections module. You can use from collections import Counte...
|
April 13, 2015, 1:59 p.m. |
+ 1 |
for Comment
dada78641: Could be simplified a bit by removing extraneous variable definitions, e.g. data = nonUniqueData; re...
|
April 13, 2015, 1:52 p.m. |
+ 3 |
for
First-MaikSchoepe
|
April 13, 2015, 1:34 p.m. |
+ 1 |
for
First (without list comprehension)-JeromeJ
|
April 13, 2015, 1:27 p.m. |
+ 1 |
for
First-7nat7
|
April 13, 2015, 9:23 a.m. |
+ 1 |
for Comment
EvanRavenelle: Can be even simpler: degrees(acos((a**2 + b**2 - c**2)/(2*a*b)))
|
April 12, 2015, 3:01 p.m. |
+ 1 |
for Comment
veky: > Lambda keyword should also be preferred in case of your inner functions. Yes, but oduvan will then...
|
April 10, 2015, 4:03 p.m. |
+ 1 |
for Comment
DiZ: Bug also reported [here](http://www.checkio.org/forum/post/3629/bugs-in-tests-2/).
|
April 10, 2015, 1:57 p.m. |
+ 1 |
for Comment
veky: > Python is cool :) You have no idea. :-D First, you don't have to write your uppercase. Just from s...
|
April 10, 2015, 1:57 p.m. |
+ 1 |
for Comment
nickie: Very nice. Notice that you don't need the square brackets; `join` can take a generator as an argumen...
|
April 10, 2015, 1:53 p.m. |
+ 1 |
for Comment
veky: Why are you using CheckiO as your version control system? It's not supposed to work like that. If yo...
|
April 9, 2015, 6:23 a.m. |
+ 1 |
for Comment
lllz: In about 2 months expect an update and some new stuff with JS
|
April 8, 2015, 4:47 p.m. |
+ 2 |
for
First-ciel
|
April 8, 2015, 1:55 p.m. |
+ 1 |
for Comment
hiya-m: Hi, > 2. I would move the len(data) < 10 to the beginning, once data is to short, you don’t need to ...
|
April 7, 2015, 3:18 p.m. |
+ 2 |
for
First-Efter
|
April 7, 2015, 1:14 p.m. |
+ 1 |
for
Second Right to Left-RafaelSPinto
|
April 7, 2015, 10:23 a.m. |
+ 1 |
for Comment
veky: There is, if you embrace the Iverson bracket. `True` and `False` are `int`s in Python (equal to `1` ...
|
April 4, 2015, 9:09 a.m. |
+ 1 |
for Comment
ptitmanu: hi, your links work for me.
|
April 3, 2015, 7:21 p.m. |
+ 1 |
for Comment
EvanRavenelle: It's impressive but I think overly complicated and defeats the purpose of using Python (readability)...
|
April 3, 2015, 6:10 p.m. |
+ 2 |
for
Second-ciel
|
April 3, 2015, 2:16 p.m. |
+ 1 |
for Comment
drobotnik: Hi, Why not just return sample?
|
April 3, 2015, 10:49 a.m. |
+ 1 |
for Comment
eugen.stegnij: Hi, you can click on the "I have no idea how to start...".There are some helpful advices.
|
April 2, 2015, 9:48 a.m. |
+ 1 |
for Comment
veky: When you use something as a name, try finding if there is already a builtin. Specifically, max with ...
|
April 1, 2015, 12:45 p.m. |
+ 1 |
for Task
Texas Referee
|
March 31, 2015, 5:18 p.m. |
+ 1 |
for Comment
chros: instead of comparing with ord() you could have just checked each letter with letter.isidigit(), lett...
|
March 31, 2015, 2:15 p.m. |
+ 1 |
for Post
A Guide to Pythons magic methods
|
March 31, 2015, 12:19 p.m. |
+ 1 |
for
First-Natali_2_7
|
March 31, 2015, 10:10 a.m. |
+ 1 |
for
First-Qandak
|
March 31, 2015, 10:08 a.m. |
+ 1 |
for
First-Qandak
|
March 31, 2015, 10:06 a.m. |
+ 1 |
for Comment
Qandak: Hah, very funny:) I just reinvented a wheel!:) I didn't even think that int() has such a good batter...
|
March 30, 2015, 9:45 p.m. |
+ 1 |
for Comment
diegueus9: Suic, see my answer below to Peter.
|
March 30, 2015, 5:14 p.m. |
+ 1 |
for
Ver. 3.3-Happiness
|
March 30, 2015, 5:12 p.m. |
+ 1 |
for Comment
nkapliev: Pascal style =p Use Python stuffs. Its beauty and user friendly ;) For example, you may use operator...
|
March 30, 2015, 11:35 a.m. |
+ 1 |
for
First-slickLash
|
March 27, 2015, 6:14 p.m. |
+ 2 |
for
Counting Letters-Imelda
|
March 27, 2015, 12:08 p.m. |
+ 1 |
for Comment
veky: If this is speedy, I'm a C++ programmer. :-D
|
March 26, 2015, 3:09 p.m. |
+ 1 |
for
First-dubkc
|
March 25, 2015, 5:05 p.m. |
+ 1 |
for Comment
veky: If _any_ of these oneliners would become a part of the official standard library of Python, I would ...
|
March 25, 2015, 4:50 p.m. |
+ 2 |
for
First-NormanDenayer
|
March 24, 2015, 11:22 p.m. |
+ 1 |
for Comment
guido: Cool solution! Very clever use of str.split() and a strict interpretation of the input format descri...
|
March 20, 2015, 10:53 p.m. |
+ 3 |
for
Trolling :)-AndriusMk
|
March 20, 2015, 10:52 p.m. |
+ 1 |
for
"Open Labyrinth" Review
|
March 19, 2015, 9 p.m. |
+ 1 |
for Comment
hanpari: I might be a little biased but Swift? I wanted to see something different :) See here why: http://ww...
|