Oct. 3, 2015, 4:24 p.m. |
+ 1 |
for Comment
hrvoje: I'm very sad to see you go, you were an important part of the project and really helpful to everybod...
|
Oct. 3, 2015, 4:24 p.m. |
+ 1 |
for Comment
Sim0000: I appreciate all you have done for me.
|
Oct. 3, 2015, 4:24 p.m. |
+ 1 |
for Comment
resilience: Sorry to see you go! Thanks for all the work you put into making the missions, I learned a lot! Good...
|
Oct. 3, 2015, 4:24 p.m. |
+ 1 |
for Comment
mobmaup: Thanks for your clear codes!
|
Oct. 3, 2015, 4:24 p.m. |
+ 1 |
for Comment
Pouf: Thank you for all the hard work ! I don't post much but I read a lot and it was great having you aro...
|
Oct. 3, 2015, 4:24 p.m. |
+ 1 |
for Comment
abupoonjaby: Hey Bryukh, I haven't been on checkio long, but I definitely appreciate your hardwork and helpful in...
|
Oct. 3, 2015, 4:19 p.m. |
+ 1 |
for Comment
veky: Damn, and I was _this_ close to level 20. :-D
|
Sept. 21, 2015, 7 a.m. |
+ 1 |
for Post
A new mission "Black holes"
|
Sept. 17, 2015, 4:51 p.m. |
+ 3 |
for
61 (was: "Shortest?")-StefanPochmann
|
Sept. 11, 2015, 4:27 p.m. |
+ 1 |
for Comment
psgonza: Hats off to your solution...
|
Aug. 29, 2015, 2:30 p.m. |
+ 1 |
for Comment
hanpari: At least you can have some rest :) Good luck in whatever you are planning to do next. It is really b...
|
Aug. 5, 2015, 6:33 a.m. |
+ 1 |
for Comment
Sim0000: There are many simple mistakes. In line 3, **length** does not use. In line 14, 17, 32, **col == len...
|
Aug. 5, 2015, 6:29 a.m. |
+ 1 |
for Comment
veky: Your intuition is basically correct: you need to iterate through the text (with `i` in your case). B...
|
Aug. 5, 2015, 6:29 a.m. |
+ 1 |
for Comment
jmegner: Don't return from inside your for-loop; that return statement makes execution jump out of the functi...
|
Aug. 5, 2015, 6:27 a.m. |
+ 1 |
for Comment
jtokaz: In Python 0**0 == 1. See https://en.wikipedia.org/wiki/Exponentiation#Zero_to_the_power_of_zero Many...
|
Aug. 3, 2015, 7:52 a.m. |
+ 1 |
for Comment
jtokaz: For your disjunction cases, I think you want "and" instead of "or." elif operation == "disjunction":...
|
Aug. 3, 2015, 7:49 a.m. |
+ 1 |
for Comment
veky: 1. What does the '' do after else? 2. http://stackoverflow.com/questions/3881434/difference-between-...
|
Aug. 3, 2015, 7:48 a.m. |
+ 1 |
for Comment
jmegner: >How do I pick the next node while moving along the Eulerian circuit. The prompt says: "you can visi...
|
Aug. 3, 2015, 7:44 a.m. |
+ 1 |
for Comment
jmegner: 1: I'm not sure why you have the for-loop on line 7. 2: Perhaps "collections.Counter(one_line).most_...
|
Aug. 3, 2015, 7:41 a.m. |
+ 1 |
for Comment
jmegner: You're going to have to give more information, like your code.
|
July 30, 2015, 5:51 a.m. |
+ 1 |
for Comment
jmegner: You might enjoy [this stackoverflow discussion](http://stackoverflow.com/questions/1207406/remove-it...
|
July 30, 2015, 5:44 a.m. |
+ 1 |
for Comment
jmegner: [This thread](http://www.checkio.org/forum/post/4066/break-rings-errorprocessoutofsystemlimits/) mig...
|
July 30, 2015, 5:44 a.m. |
+ 1 |
for Comment
jmegner: Might be useful to show us a code snippet.
|
July 30, 2015, 5:43 a.m. |
+ 1 |
for Comment
jtokaz: You can turn off cloud movement using the cloud button in the lower right.
|
July 30, 2015, 5:41 a.m. |
+ 1 |
for Comment
veky: [Indeed](https://hg.python.org/cpython/file/3.5/Lib/glob.py#l128). :-)
|
July 20, 2015, 1:22 p.m. |
+ 1 |
for Comment
Sim0000: I try your code. In line 15, I add **/a**, then pass all tests. surface_prolate = 2.0 * math.pi * (a...
|
July 20, 2015, 1:22 p.m. |
+ 1 |
for Comment
Sim0000: You need to remove line 2. In line 5, "FizzBuzz" -> "Fizz Buzz". In line 6 and 8, else if -> elif.
|
July 20, 2015, 1:22 p.m. |
+ 1 |
for Comment
suic: Hi, read the description: > If N is outside of the array, then return __-1__
|
July 20, 2015, 1:22 p.m. |
+ 1 |
for Comment
suic: Hi, `Frs` should be an _instance variable_. Two comments: 1. _any()_ is a built-in function, do not ...
|
July 20, 2015, 1:20 p.m. |
+ 1 |
for Comment
Sim0000: Task description says "If you have **two or more letters with the same frequency**, then return the ...
|
July 20, 2015, 1:19 p.m. |
+ 1 |
for Comment
Sim0000: list.index(x) return the index in the list of **the first item** whose value is x. The test have two...
|
July 20, 2015, 1:19 p.m. |
+ 1 |
for Comment
Sim0000: Because **bin(number)** is string, **list(bin(number))** is list of string. For example, bin(4) = '0...
|
July 20, 2015, 1:19 p.m. |
+ 1 |
for Comment
Pumba_UA: A few words about the code, not your solution 1. Put your code in code mark... don`t forget to put t...
|
July 20, 2015, 1:19 p.m. |
+ 1 |
for Comment
veky: .isupper is not a property, but a method: if ch.isupper(): (and please don't write `== True` in such...
|
July 20, 2015, 1:13 p.m. |
+ 1 |
for Comment
Sim0000: In line 5, you need to use **sorted()**, function version of **list.sort()**. See [document](https:/...
|
July 20, 2015, 1:13 p.m. |
+ 1 |
for Comment
Sim0000: This is your code. def checkio(number): if not number % 15: return "FizzBuzz" if not number % 5: ret...
|
July 20, 2015, 1:13 p.m. |
+ 1 |
for Comment
Sim0000: Your code runs Python 2 only. What version of Python do you use in CheckiO? You can select Py2 or Py...
|
July 20, 2015, 1:11 p.m. |
+ 1 |
for Comment
jtokaz: Checkio is looking for a function named "digit_stack" to execute. Yours is titled something else "le...
|
July 20, 2015, 1:11 p.m. |
+ 1 |
for Comment
suic: Hi, a few things: 1. _sum()_ is a built-in function. Do not redefine it. 2. _enumerate()_ is a nice ...
|
July 20, 2015, 1:11 p.m. |
+ 1 |
for Comment
jtokaz: The line "for i in array" loops i over the values not the indices. To loop over the indices use "for...
|
July 20, 2015, 1:11 p.m. |
+ 1 |
for Comment
suic: Hi, a few comments: 1. Forget about semicolons in Python. 2. Lines 2-13 are redundant as non of thes...
|
July 20, 2015, 1:10 p.m. |
+ 1 |
for Comment
DiZ: I don't think you need to order your data if all you do is inclusion checking. Python have already t...
|
July 13, 2015, 5:23 a.m. |
+ 1 |
for Comment
suic: Hi, I don't even need my very limited Russian to see the problem: def checkio(number): bin(number).c...
|
July 13, 2015, 5:19 a.m. |
+ 1 |
for Comment
Sim0000: In line 9, **<=** is the reason. **<** is correct. Because index of sequence is from 0 to sequence_n...
|
July 13, 2015, 5:17 a.m. |
+ 1 |
for Comment
Sim0000: You need to return **set** instead of **str**. One way to fix you code is follows. def names(self): ...
|
July 13, 2015, 5:16 a.m. |
+ 1 |
for Comment
suic: Hi, look at [this](http://www.checkio.org/forum/post/3269/6-the-most-common-mistakes/).
|
July 13, 2015, 5:16 a.m. |
+ 1 |
for Comment
Sim0000: At first, you need to return **set** instead of **list**. So, in line 7, **return set(name_list)** i...
|
July 13, 2015, 5:16 a.m. |
+ 1 |
for Comment
Sim0000: Your code assume data is square, but actual problem may be rectangle.
|
July 13, 2015, 5:16 a.m. |
+ 1 |
for Comment
Sim0000: You have extra **data[** in line 6.
|
July 13, 2015, 5:15 a.m. |
+ 1 |
for Post
Additional testcases
|
July 13, 2015, 5:15 a.m. |
+ 1 |
for Comment
suic: Hi, see [this](http://www.checkio.org/forum/post/3269/6-the-most-common-mistakes/).
|
July 13, 2015, 5:07 a.m. |
+ 1 |
for Comment
johnhaines: Hint: In grid[x][y] is your use of x and y consistent with their use earlier in the function?
|
July 13, 2015, 5:06 a.m. |
+ 1 |
for Comment
Sim0000: What version of Python do you use? In Python3, **/** returns float result. If you want to integer re...
|
July 13, 2015, 5:04 a.m. |
+ 1 |
for Comment
danshu: what you returned is the index value but not the median itself!
|
July 13, 2015, 5:04 a.m. |
+ 1 |
for Comment
lighthead404: I finished but I was a fool(( for s in range(len(list_text)): x = re.search(r'^([BCDFGHJKLMNPQRSTVWX...
|
July 13, 2015, 5:04 a.m. |
+ 1 |
for Comment
Sim0000: Your code check only first pair. You need to move line 9 outside **for** loop.
|
July 13, 2015, 5:04 a.m. |
+ 1 |
for Comment
Sim0000: You can use logical operator **and**.
|
July 13, 2015, 5:03 a.m. |
+ 1 |
for Comment
Sim0000: You don't need line 7-9.
|
July 13, 2015, 5:02 a.m. |
+ 1 |
for Comment
Sim0000: Task description says "The result must be represented as a string of words separated by commas in **...
|
July 13, 2015, 5:02 a.m. |
+ 1 |
for Comment
Sim0000: Python lists have a built-in list.sort() method that modifies the list in-place. There is also a sor...
|
June 29, 2015, 5:11 a.m. |
+ 1 |
for Comment
suic: Where is your question? And btw.: Why do you `import sys`?
|
June 29, 2015, 5:11 a.m. |
+ 1 |
for Comment
suic: What do you think, what does your function actually returns? Hint: You have only one `return` statem...
|
June 29, 2015, 5:11 a.m. |
+ 1 |
for Comment
suic: Hi, no. The answer in third test must be three.
|
June 29, 2015, 5:11 a.m. |
+ 1 |
for Comment
suic: Hi, `lists`, `tuples` etc. are indexed from 0 (not 1). Look at line 3 again. Hint: The last element ...
|
June 29, 2015, 5:10 a.m. |
+ 1 |
for Comment
suic: Hi, look at [this](http://www.checkio.org/forum/post/3269/6-the-most-common-mistakes/).
|
June 29, 2015, 5:09 a.m. |
+ 1 |
for Comment
ciel: I cannot give you crew unless what you thought even a little bit. I even wrote spoiler during when I...
|
June 29, 2015, 5:09 a.m. |
+ 1 |
for Comment
johnhaines: When you run your code in Checkio you need to **return** the result in place of printing it.
|
June 29, 2015, 5:09 a.m. |
+ 1 |
for Comment
suic: Hi, two things: 1. Read the [FAQ](http://www.checkio.org/forum/post/3271/faq/). 2. Look at the examp...
|
June 29, 2015, 5:09 a.m. |
+ 1 |
for Comment
Sim0000: In line 3, you need to use **<** instead of **<=**.
|
June 23, 2015, 9:43 a.m. |
+ 1 |
for Comment
Sim0000: Maybe, global variables have a bad influence on your results. See [FAQ](http://www.checkio.org/forum...
|
June 23, 2015, 9:43 a.m. |
+ 1 |
for Comment
Sim0000: Task description says "If a word appears several times in the text, it should be counted only once."
|
June 22, 2015, 5:09 a.m. |
+ 1 |
for Post
Thanks for this
|
June 22, 2015, 5:01 a.m. |
+ 1 |
for Comment
suic: Hi, first of all your use of __Counter__. Have you read the [documentation](https://docs.python.org/...
|
June 22, 2015, 4:58 a.m. |
+ 1 |
for Comment
suic: > I am confused by the interface and where to begin. I know that this is an old thread and what I wa...
|
June 22, 2015, 4:56 a.m. |
+ 1 |
for Comment
BSacheri: @StuM91: Thanks for sharing my sentiment. @Cjkjvfnby: Please don't assume that every professional pr...
|
June 22, 2015, 4:56 a.m. |
+ 1 |
for Comment
LokiOfFire: .endswith ...... Now I know. LOL. Think I was manually doing endswith. word_list = list(words_set) f...
|
June 22, 2015, 4:56 a.m. |
+ 1 |
for Comment
gnucian: Aha! The .endswith() method!
|
June 19, 2015, 6:46 a.m. |
+ 1 |
for Comment
Sim0000: In line 26, you need **)** at end of line.
|
June 19, 2015, 6:46 a.m. |
+ 1 |
for Comment
Sim0000: At first, you need one more indent in line 5. In line 4, you don't need +1. In line 7, parenthesis i...
|
June 19, 2015, 6:42 a.m. |
+ 1 |
for Comment
Sim0000: You check first and second items only. One way to fix it is remove line 11 and deindent line 12.
|
June 19, 2015, 6:42 a.m. |
+ 1 |
for Comment
suic: Hi, there are many issues: 1. Your function has to be `checkio` not `checkPassword`. 2. `lower = str...
|
June 19, 2015, 6:39 a.m. |
+ 1 |
for Comment
Sim0000: In line 9, range(N-1) -> range(N) In line 10, range(k+1,n-1) -> range(N) In line 11, seq( ) -> seq[ ...
|
June 18, 2015, 6:39 a.m. |
+ 1 |
for Comment
suic: Hi, those two things are different ~~~~ # Compare this: >>> words = "Hello, World" >>> for n in word...
|
June 18, 2015, 6:39 a.m. |
+ 1 |
for Comment
Sim0000: Task description says "For an empty argument list, the function should return 0.". In Python, max([]...
|
June 18, 2015, 6:38 a.m. |
+ 1 |
for Comment
veky: > 1st step: break 1st ring, because there is the most (4) connections. There is your problem. Greedy...
|
June 10, 2015, 4:45 a.m. |
+ 1 |
for Comment
bukebuer: line 7, return "FizzBuzz" -> return "Fizz Buzz"
|
June 10, 2015, 4:45 a.m. |
+ 1 |
for Comment
bukebuer: def index_power(array, n): if n <= len(array) - 1: return array[n] ** n else: return -1
|
May 27, 2015, 7:30 a.m. |
+ 2 |
for
Shorter than veky's ;)-Juge_Ti
|
May 25, 2015, 8:55 a.m. |
+ 1 |
for Comment
veky: Well, I get headaches from reading _your_ solutions, so we're even. :-P Let me tell you a secret: I ...
|
May 25, 2015, 5:20 a.m. |
+ 1 |
for Comment
Pouf: Always wanted to say that I love all the illustrations on CheckiO. My kudos to Oleg ! Also, Python i...
|
May 25, 2015, 5:19 a.m. |
+ 1 |
for Comment
veky: No it cannot. I tried to see why so many people make that mistake, now I see that's because of your ...
|
May 25, 2015, 5:13 a.m. |
+ 1 |
for Post
namedtuple
|
May 24, 2015, 7:56 a.m. |
+ 1 |
for Comment
Sim0000: I agree. This mission is very educational and I like it.
|
May 24, 2015, 7:56 a.m. |
+ 1 |
for Comment
Sim0000: In line 12, **list.sort()** is wrong. You need to use **sorted(list)**.
|
May 24, 2015, 7:54 a.m. |
+ 1 |
for Comment
suic: Hi, not this way! Look at _(extended) slices_ in Python.
|
May 24, 2015, 7:53 a.m. |
+ 1 |
for Comment
Lavel: I have found my misstake. line = line.append(arg) is not working. :) Correct is line.append(arg)
|
May 17, 2015, 5:32 a.m. |
+ 1 |
for Comment
AQiccl135: I cleaned the tables, clarified some of the sections that caused complaints in the discussion, and r...
|
May 15, 2015, 5:50 p.m. |
+ 1 |
for Post
Can this mission be removed from Polygon now?
|
May 15, 2015, 12:50 p.m. |
+ 1 |
for
"The Best Number Ever" Review
|
May 13, 2015, 5:14 a.m. |
+ 1 |
for
Society in a nutshell-Pouf
|