Nov. 23, 2017, 1:44 p.m. |
+ 1 |
for Comment
ciel: Now, if ZeroDivisionError is triggered, I can **assure** that the given equation is not solvable.
|
Nov. 23, 2017, 1:44 p.m. |
+ 1 |
for Comment
ciel: What the hell is "random.shuffle" ? :p
|
Nov. 23, 2017, 1:44 p.m. |
+ 1 |
for Comment
ciel: Used gauss(): http://www.checkio.org/mission/how-much-gold/publications/ciel/python-3/kinda_usual/
|
Nov. 23, 2017, 1:44 p.m. |
+ 1 |
for Comment
bryukh: Oh, I got it. Thanks. I will add this. The good remark.
|
Nov. 23, 2017, 1:44 p.m. |
+ 1 |
for Comment
ciel: Actually I used my pencil quite a lot. Perhaps the author thought this type of equation easily thoug...
|
Nov. 23, 2017, 1:42 p.m. |
+ 1 |
for Comment
htamas: You only know Python for two weeks and completed all tasks on CheckiO? Wow, that's quite an achievem...
|
Nov. 23, 2017, 11:30 a.m. |
+ 1 |
for Comment
purpletoad09: Wouldn't using the .capitalize() function cause any uppercase letters in the middle of the sentence ...
|
Nov. 22, 2017, 5:27 a.m. |
+ 1 |
for Comment
DahliaSR: I just tested your solution and it passed. Pls check your solution again and let us know if it worke...
|
Nov. 22, 2017, 5:13 a.m. |
+ 1 |
for Comment
alakozikowska: Hi! I think I know what the main problem is: in some places you use = (assignment) instead of == (eq...
|
Nov. 22, 2017, 5:12 a.m. |
+ 1 |
for Comment
viscoustorque: It's a great thing about programming, everybody sees different solutions. I'm a newbie at Python and...
|
Nov. 22, 2017, 5:12 a.m. |
+ 1 |
for Comment
Tinus_Trotyl: Hi, don't panic :-) I don't know what for you want to print a string like that, the string behind th...
|
Nov. 22, 2017, 5:11 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: In Python, there are many things besides strings and integers. And they can be sorted differently us...
|
Nov. 22, 2017, 5:11 a.m. |
+ 1 |
for Comment
Tinus_Trotyl: Hi, Consider `something.remove(name)` is a "statement" (its operation stands on its own, there is no...
|
Nov. 22, 2017, 5:10 a.m. |
+ 1 |
for Comment
Tinus_Trotyl: Read carefully, it says : "Output: Int or **None**", not 'null'. Succes ! Ps. None (with capital N) ...
|
Nov. 22, 2017, 5:09 a.m. |
+ 1 |
for Comment
AteamSF: Looks clean!
|
Nov. 19, 2017, 4:05 a.m. |
+ 1 |
for Comment
Tinus_Trotyl: What to do in case of an empty string ? You can even ask yourselves if an empty string can represent...
|
Nov. 17, 2017, 3:20 p.m. |
+ 1 |
for Task
Correct Sentence
|
Nov. 15, 2017, 8:37 a.m. |
+ 1 |
for Comment
DahliaSR: And I know, who to blame for this bug...
|
Nov. 15, 2017, 8:37 a.m. |
+ 1 |
for Comment
oduvan: fixed, thanks :)
|
Nov. 10, 2017, 9:34 p.m. |
+ 1 |
for Comment
flpo: I think that the task description: > ... If a sentence already **starts** with a dot ... > should be...
|
Nov. 10, 2017, 9:32 p.m. |
+ 1 |
for Comment
Mishgan: Nice, but leave the comments, algorithm is not trivial :)
|
Nov. 10, 2017, 3:01 p.m. |
+ 1 |
for Comment
veky: [Iverson bracket](https://en.wikipedia.org/wiki/Iverson_bracket) is a powerful idiom. I agree that i...
|
Nov. 10, 2017, 6:18 a.m. |
+ 1 |
for Post
New Mission "Between Markers"
|
Nov. 10, 2017, 4 a.m. |
+ 1 |
for Post
mission idea "Barcode Reader"
|
Nov. 8, 2017, 2:20 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: You could try to build the family tree step by step from the input data and check whether it is poss...
|
Nov. 5, 2017, 6:18 a.m. |
+ 1 |
for
Arrays for Python
|
Nov. 5, 2017, 6:16 a.m. |
+ 1 |
for Comment
DahliaSR: The instructions and the template code are clear... 1. You need to define a function named _checkio_...
|
Nov. 4, 2017, 5:08 a.m. |
+ 1 |
for Comment
veky: Like https://py.checkio.org/mission/adfgvx-cipher/publications/Sim0000/python-3/second/?ordering=mos...
|
Nov. 4, 2017, 5:07 a.m. |
+ 5 |
for
Talking 'bout my generation-veky
|
Nov. 4, 2017, 5:06 a.m. |
+ 1 |
for Comment
veky: This can be taken [much further](https://py.checkio.org/mission/adfgvx-cipher/publications/veky/pyth...
|
Nov. 1, 2017, 7:53 a.m. |
+ 1 |
for Post
Mission idea "Combined Resistors"
|
Nov. 1, 2017, 3:03 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Hi! You have to define function **checkio**, that takes one string argument and **return**s the answ...
|
Nov. 1, 2017, 3:03 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: There is a network with N nodes. Some of them are connected. Each node has an integer characteristic...
|
Oct. 31, 2017, 6:10 p.m. |
+ 5 |
for
6-liner: Wanna make friends? Turn it off!-przemyslaw.daniel
|
Oct. 31, 2017, 6:08 p.m. |
+ 1 |
for Comment
przemyslaw.daniel: This is sad. Even the best solution doesn't answer the question 'How to find friends?'. I'll ask som...
|
Oct. 31, 2017, 4:54 a.m. |
+ 1 |
for Comment
DahliaSR: What will be the returned value of: str(filter(str.isupper,string)) when there is no uppercase chara...
|
Oct. 31, 2017, 4:54 a.m. |
+ 1 |
for Comment
BetoAlberto: First things first: always create doc notes of what you are attempting to achieve. Your Script: ther...
|
Oct. 31, 2017, 4:53 a.m. |
+ 1 |
for Comment
oduvan: you should click "Use local Editor" once again in the web editor.
|
Oct. 31, 2017, 4:53 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Hi! The reason is in rounding errors in lines 22 and 27. You can fix it by using integer-only calcul...
|
Oct. 31, 2017, 4:53 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Hi! The problem is in line 8, rounding can result in wrong **position**. You should cut the value in...
|
Oct. 30, 2017, 12:26 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: The only supported version for now is Py3.
|
Oct. 30, 2017, 12:02 p.m. |
+ 1 |
for Comment
oduvan: I believe, that "your result: null" is a visualization results bug. 1e1000000000000000 and None are ...
|
Oct. 30, 2017, 7:07 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Another way: next(iter({'a'})) If you don't need the set anymore: {'a'}.pop()
|
Oct. 30, 2017, 4:45 a.m. |
+ 1 |
for Comment
Tinus_Trotyl: Oh yeah . . . of course, how could that slip my mind? :) !!! AWESOME !!!
|
Oct. 29, 2017, 6:13 a.m. |
+ 1 |
for Comment
quesneljoseph: mannn this is some sweet code. how does defaultdict work here? it looks critical to the code but eve...
|
Oct. 27, 2017, 3:54 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Hi! (Re)read [The Most Common Mistakes](https://py.checkio.org/forum/post/3269/6-the-most-common-mis...
|
Oct. 27, 2017, 3:53 a.m. |
+ 1 |
for Comment
Skinz: the issue is your else statement inside your for loop, i never gets passed 0 as it either returns tr...
|
Oct. 27, 2017, 3:53 a.m. |
+ 1 |
for Comment
Skinz: that looks very messy, why don't you add all args to a list, sort and then take one end away from th...
|
Oct. 27, 2017, 3:20 a.m. |
+ 1 |
for Comment
DahliaSR: what is the difference between: if i.isalpha # AND if i.isalpha()
|
Oct. 27, 2017, 3:20 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Hi! From task description: > Input: A set of ints. > Output: A list of tuples ... Empty set is neith...
|
Oct. 27, 2017, 3:19 a.m. |
+ 1 |
for Comment
Tinus_Trotyl: Al least, you have to fix your indentation (lines 5 ÷ 8) , <**arg**> isn't defined anywhere (line 5 ...
|
Oct. 27, 2017, 3:19 a.m. |
+ 1 |
for Comment
kurosawa4434: Now CheckiO uses Python 3 only. You need to use the '//' operator instead of the '/'.
|
Oct. 27, 2017, 3:18 a.m. |
+ 1 |
for Comment
DahliaSR: ???
|
Oct. 27, 2017, 3:17 a.m. |
+ 1 |
for Comment
DahliaSR: What's wrong with your publication?
|
Oct. 27, 2017, 3:16 a.m. |
+ 1 |
for Comment
ciel: 3rd party means modules which have to be installed via pip (or easy_install). https://py.checkio.org...
|
Oct. 27, 2017, 3:16 a.m. |
+ 1 |
for Comment
Tinus_Trotyl: Hi, **[start, start+4] and [stop, stop+4] and [start+4,stop+4] in lines_list** involves you're testi...
|
Oct. 17, 2017, 3:14 p.m. |
+ 1 |
for
10 common beginner mistakes in Python
|
Oct. 17, 2017, 9:44 a.m. |
+ 1 |
for Comment
brubru777: Nice short solution but you could greatly improve its readability with meaningful variable names.
|
Oct. 16, 2017, 3:57 a.m. |
+ 1 |
for Comment
aquazul: Line 15: your code won't add a comma after the word which is equal to the last one. In: "A", "B", "C...
|
Oct. 11, 2017, 11:29 a.m. |
+ 1 |
for Post
New Easy CheckiO Missions
|
Oct. 8, 2017, 3:49 a.m. |
+ 1 |
for Post
Mission Idea : Strawberry Fields
|
Oct. 6, 2017, 10:16 a.m. |
+ 1 |
for Comment
veky: All these x's and y's... you have enormous code duplication. :-P :-D
|
Oct. 6, 2017, 10:16 a.m. |
+ 1 |
for Comment
przemyslaw.daniel: 51 is the final answer :-)
|
Oct. 6, 2017, 10:15 a.m. |
+ 5 |
for
1-liner: 51 chars of madness-przemyslaw.daniel
|
Oct. 5, 2017, 1:48 a.m. |
+ 1 |
for Comment
quesneljoseph: actually yes, this is a great way to make a long thing shorter, thank you! even though its not your ...
|
Oct. 4, 2017, 3:03 a.m. |
+ 1 |
for Comment
oduvan: should be fixed. Please try again
|
Oct. 4, 2017, 3:02 a.m. |
+ 1 |
for Comment
vinc: You're right ;) There's a bug in test input. It's a wrong pull request from Meganevra. > Commits on ...
|
Oct. 4, 2017, 3:02 a.m. |
+ 1 |
for Comment
veky: No, the idea is _not_ to just haphazardly put into code everything that comes to your mind. Programm...
|
Oct. 4, 2017, 3:01 a.m. |
+ 1 |
for Comment
kurosawa4434: You should use '//' operator instead of '/' on lines 11, 13 and 36. In Python 3, the result is diffe...
|
Oct. 4, 2017, 3:01 a.m. |
+ 1 |
for Comment
DahliaSR: Everything is wrong in your solution! Read the task description again, think about it and try it aga...
|
Oct. 4, 2017, 3:01 a.m. |
+ 1 |
for Comment
kurosawa4434: I saw your code but I could not find the 'capture (matrix)' function. And some variables are not use...
|
Oct. 4, 2017, 3 a.m. |
+ 1 |
for Comment
DahliaSR: So why are you doing it when you know it won't work? You could use a regular expression or you could...
|
Oct. 4, 2017, 3 a.m. |
+ 1 |
for Comment
DahliaSR: Read the task description again. It's **not** your task to count how often a character occurs in a s...
|
Oct. 4, 2017, 3 a.m. |
+ 1 |
for Comment
Vasily__Chibilyaev: Your code doesn't run because of this line: if len(line) < 0: You either have to add code after if s...
|
Oct. 4, 2017, 3 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: x=int(max(args)-min(args)) 1) Why **int**? The difference can be a **float** number as well. 2) You ...
|
Oct. 4, 2017, 2:59 a.m. |
+ 1 |
for Comment
DahliaSR: You are removing whitespace characters from the original string and this can create a word which can...
|
Oct. 3, 2017, 12:28 p.m. |
+ 1 |
for
Context manager in Python
|
Oct. 2, 2017, 7:34 p.m. |
+ 1 |
for Comment
quesneljoseph: Ok so if im learning this correctly (beginner) if w is in a lower cased text, return true (or 1) as ...
|
Sept. 27, 2017, 5:28 a.m. |
+ 1 |
for
How did Python3 lose cmp in sorted?
|
Sept. 25, 2017, 4:43 p.m. |
+ 5 |
for
1-liner: +marriage-przemyslaw.daniel
|
Sept. 25, 2017, 6:45 a.m. |
+ 1 |
for Post
Editor's choice for 11 simple missions
|
Sept. 21, 2017, 1:30 a.m. |
+ 1 |
for Comment
Tinus_Trotyl: Try to replace your <**print(“blablablah”)**> by <**return “blablablah”**> . The most usual structur...
|
Sept. 21, 2017, 1:29 a.m. |
+ 1 |
for Comment
nakanohito_piyo: If you insert print(land_map) to line 10, you can see land_map become all-zero. It is a common trap ...
|
Sept. 19, 2017, 1:58 a.m. |
+ 1 |
for Comment
nakanohito_piyo: First, you should state your question clearly (what kind of error in what testcase etc...) By the wa...
|
Sept. 19, 2017, 1:58 a.m. |
+ 1 |
for Comment
DahliaSR: Pls stop telling people to cast the generator into a list, that's such a waste... You can use condit...
|
Sept. 19, 2017, 1:58 a.m. |
+ 1 |
for Comment
Tinus_Trotyl: Hi, I think you should try this: (change ar[0] into a list if that's the only 1 argument to make it ...
|
Sept. 19, 2017, 1:57 a.m. |
+ 1 |
for Post
Mission Idea: Most Efficient Cutting
|
Sept. 19, 2017, 1:57 a.m. |
+ 1 |
for Comment
DahliaSR: What is so hard to understand? > you cannot access items in set via index just try it: >>> a_set = {...
|
Sept. 19, 2017, 1:57 a.m. |
+ 1 |
for Comment
aquazul: All the answer is in the error message which you wrote. one of the arguments is 'set' type (it is wr...
|
Sept. 19, 2017, 1:56 a.m. |
+ 1 |
for Post
New Mission "Most Efficient Cutting"
|
Sept. 19, 2017, 1:56 a.m. |
+ 1 |
for Comment
Tinus_Trotyl: Hi, Since "**H**ow" in <**text**> has a capital "**H**" and "**h**ow" in <**words**> is lower cased,...
|
Sept. 19, 2017, 1:56 a.m. |
+ 1 |
for Comment
Tinus_Trotyl: As you're defined a function, you need to <**return**> your result instead of printing it.
|
Sept. 14, 2017, 3:49 p.m. |
+ 1 |
for Comment
nakanohito_piyo: Your code does not check correctly when i=0 (and redundant when i>1). In line 8, range(1,len(line)+i...
|
Sept. 14, 2017, 2:35 p.m. |
+ 1 |
for Comment
SWalrus: The most creative!!!
|
Sept. 14, 2017, 12:02 p.m. |
+ 1 |
for Comment
Glutexo: :)
|
Sept. 14, 2017, 4:13 a.m. |
+ 1 |
for
Asynchronous Python for the Complete Beginner
|
Sept. 11, 2017, 4:24 p.m. |
+ 1 |
for Comment
PythonWithPI: You're printing the proper result instead of returning it. Replace the print(...) with return ... an...
|
Sept. 11, 2017, 4:24 p.m. |
+ 1 |
for Comment
aquazul: Read description once more: > If you have two or more letters with the same frequency, then return t...
|
Sept. 11, 2017, 4:23 p.m. |
+ 1 |
for Comment
aquazul: line 9-12: if words1 contains at least one 'a', your code removes (almost) **all 'a's from words2,**...
|
Sept. 11, 2017, 4:23 p.m. |
+ 1 |
for Comment
vinc: 1) First of all, you've got a lot of unnecessary code. I've commented on some lines, just think abou...
|