Sept. 20, 2019, 11:33 a.m. |
+ 4 |
for
Matrix manipulation-kumaus
|
Sept. 20, 2019, 11:28 a.m. |
+ 1 |
for Comment
d_rabenko: thank you for your advise!
|
Sept. 20, 2019, 7:05 a.m. |
+ 1 |
for
My First, Nothing Special-d_rabenko
|
Sept. 19, 2019, 4:15 a.m. |
+ 3 |
for
Cut zero-lines then numpy.rot90()-quarkov
|
June 26, 2019, 12:16 p.m. |
+ 1 |
for
First-T0ny
|
June 26, 2019, 12:16 p.m. |
+ 1 |
for
one line solution-Tairraos
|
June 26, 2019, 12:16 p.m. |
+ 2 |
for
First-alexander.gorelyshev
|
June 26, 2019, 12:12 p.m. |
+ 1 |
for
Second-fed.kz
|
June 12, 2019, 7:38 a.m. |
+ 1 |
for Comment
karpelevich: In 1 line: def worth_of_words(words): return max(words, key=lambda word: sum(VALUES[c] for c in word...
|
April 20, 2019, 10:27 a.m. |
+ 1 |
for Comment
Vasily__Chibilyaev: Very smart. This piece '(i.endswith(j) or j.endswith(i))' does make sense.
|
April 20, 2019, 10:27 a.m. |
+ 1 |
for Comment
alabama_09: This is a very simple and working solution. And there is a marvelous 'endwith()' double condition fo...
|
Feb. 7, 2019, 2:43 a.m. |
+ 1 |
for Comment
robert.theriault: That's fair, I probably misread the exact requirements. I remember reading it a few times and wonder...
|
Jan. 24, 2019, 5:47 p.m. |
+ 1 |
for Comment
oduvan: Change the category
|
Jan. 24, 2019, 9:08 a.m. |
+ 1 |
for
First-Diehardness
|
Jan. 24, 2019, 9:07 a.m. |
+ 2 |
for
First-PythonLearner
|
Jan. 24, 2019, 9:03 a.m. |
+ 1 |
for
Simplest-cs1g
|
Jan. 24, 2019, 9:01 a.m. |
+ 2 |
for
First-martin_b
|
Jan. 23, 2019, 3:40 p.m. |
+ 2 |
for
4-liner: never too complex-przemyslaw.daniel
|
Jan. 22, 2019, 5:15 p.m. |
+ 1 |
for Comment
Phil15: It was intentional to not talk about Rookie class. But it was an error, given the number of messages...
|
Jan. 22, 2019, 3:55 p.m. |
+ 1 |
for
Dillon_pass-DillonKo
|
Jan. 22, 2019, 3:26 p.m. |
+ 1 |
for Comment
vmiimu: Thank you all for your advice. I will also be more careful about the feedback tag in future. I have ...
|
Jan. 22, 2019, 3:12 p.m. |
+ 1 |
for Comment
Phil15: It's not feedback but advice you want. Found in github repository: class Rookie(Warrior): def __init...
|
Jan. 21, 2019, 2:19 p.m. |
+ 1 |
for Comment
oduvan: you don't need `else`
|
Jan. 21, 2019, 2:19 p.m. |
+ 1 |
for Comment
oduvan: sorry, I was late with updating mission description. Now preconception says that both strings have t...
|
Jan. 21, 2019, 2:11 a.m. |
+ 1 |
for Comment
fed.kz: You're right. I can fix it if I'll add one condition. `if len(str1) != len(str2): return False`
|
Jan. 20, 2019, 4 p.m. |
+ 1 |
for Comment
ssk8: you are absolutely right. if the tests include this, it will fail. My code doesn't look for this cas...
|
Jan. 20, 2019, 3:08 p.m. |
+ 1 |
for Comment
kodix09: true, I assumed that strings are of the same length
|
Jan. 20, 2019, 5:56 a.m. |
+ 3 |
for
Batteries!-veky
|
Jan. 20, 2019, 5:52 a.m. |
+ 1 |
for
Second-eugene100372
|
Jan. 20, 2019, 5:37 a.m. |
+ 1 |
for
First-brownie57
|
Jan. 20, 2019, 5:37 a.m. |
+ 3 |
for
str.maketrans-flpo
|
Jan. 18, 2019, 6:02 a.m. |
+ 1 |
for Comment
fed.kz: Do the strings have the same length? On example, my solution gives next result isometric_strings('',...
|
Jan. 18, 2019, 5:48 a.m. |
+ 1 |
for Post
New Mission "Isometric Strings"
|
Jan. 2, 2019, 10:37 a.m. |
+ 2 |
for
Clean and simple.-Celshade
|
Jan. 2, 2019, 10:37 a.m. |
+ 1 |
for
First-Petra_Cihalov
|
Jan. 2, 2019, 10:36 a.m. |
+ 1 |
for
The Hamming Distance-yashar
|
Jan. 2, 2019, 10:32 a.m. |
+ 2 |
for
First-wyf.141060
|
Dec. 29, 2018, 2:51 p.m. |
+ 1 |
for Comment
Oleg_Domokeev: The solution is not, may be, the shortest. But it is very clear and readable. The idea to use nested...
|
Dec. 26, 2018, 9:45 a.m. |
+ 1 |
for Comment
veky: Of course. When I wrote the above comment, I didn't know about the preset code. :-)
|
Aug. 5, 2018, 2:49 p.m. |
+ 1 |
for Comment
Riddick: Hm, looked like you're right. I just try to check your solution with big data input and solution wit...
|
Aug. 4, 2018, 5:41 a.m. |
+ 1 |
for Comment
Riddick: I think this solution should be in uncategorized solutions. Firstly, you may use from collections im...
|
July 31, 2018, 2:33 p.m. |
+ 1 |
for Comment
Marlen_Nurmakov: When I run the code I get > IndexError: list index out of range > best_country, 13 > , 17 Of course,...
|
July 29, 2018, 3:20 a.m. |
+ 1 |
for Comment
Slowicide: Just add else statement, where you will add whitespace into your result list. Then return "".join(cr...
|
July 29, 2018, 3:19 a.m. |
+ 1 |
for Comment
tigerhu3180: Try > text[text.index(symbol)+1:].index(symbol)
|
July 29, 2018, 3:17 a.m. |
+ 1 |
for Comment
Tinus_Trotyl: Oooopppsss. . . . you're absolutely right. . . so, . . that has to be ` 0 <= n < len(list)` .
|
July 29, 2018, 3:17 a.m. |
+ 1 |
for Comment
tigerhu3180: Hello? What you have to do: n>= len(list) ---> return -1 OK? or you will get a error.
|
July 29, 2018, 3:16 a.m. |
+ 1 |
for Post
Failure in Test 6?
|
July 29, 2018, 3:16 a.m. |
+ 1 |
for Comment
Cody9999: Thank you. I was wrong. Pythagoras needs a right angle and shape matters here.
|
July 28, 2018, 7:06 a.m. |
+ 1 |
for Comment
Cody9999: I appreciate your help. Lines 12-13 or 30-34 just check simple Pythagoras: a square + b square EQUAL...
|
July 26, 2018, 2:23 p.m. |
+ 1 |
for Comment
Sim0000: One way to fix your code is append sentinel to text. After line 6, **text += "/"**, above code works...
|
July 26, 2018, 1:04 p.m. |
+ 1 |
for Comment
kurosawa4434: Hi flipster23. Your idea is correct. And you were so close. I tried fixing your code: def checkio(ma...
|
July 26, 2018, 12:55 p.m. |
+ 1 |
for Comment
Sim0000: Why do you compare only best case? I try to measure time consumption. Below is my code. import timei...
|
July 26, 2018, 12:54 p.m. |
+ 1 |
for Comment
Tinus_Trotyl: Hi, An example: `index_power([1, 2, 3, 4], 2)` `list` now becomes `[1, 2, 3, 4]` and `n` will be `2`...
|
July 26, 2018, 12:54 p.m. |
+ 1 |
for Comment
Sillte: I tried your code. At **2nd example**, if you check the shape of **indices** and **labeled**, then y...
|
July 26, 2018, 12:52 p.m. |
+ 1 |
for Comment
sinclair2k: Hi! Look carefully, where the 'return a*b' statement is. And check a right place for 'b=array(c)' ex...
|
July 26, 2018, 12:52 p.m. |
+ 1 |
for Comment
sinclair2k: You have to make out python string formatting methods. Try to read [this article](https://realpython...
|
July 26, 2018, 12:52 p.m. |
+ 1 |
for Comment
Sim0000: It is very close to the correct answer. See [document](https://docs.python.org/3/whatsnew/3.6.html#w...
|
July 26, 2018, 5:07 a.m. |
+ 1 |
for Comment
PatinaHo: It worked, thank you! I always wondered how object attributes should be declared in Python, now I re...
|
July 25, 2018, 9:02 a.m. |
+ 1 |
for Post
5 New Missions "The Warriors" + 4 others
|
July 23, 2018, 3 a.m. |
+ 1 |
for Comment
Cjkjvfnby: Not so simple as should be. Your lambda can be simplified.
|
July 20, 2018, 3:49 p.m. |
+ 1 |
for Comment
kurosawa4434: Hi Sokil. The variable 'args' is the tuple of input values. checkio(1, 2, 3) -> args == (1, 2, 3)
|
July 20, 2018, 11:11 a.m. |
+ 1 |
for Post
What is the Python/modules versions?
|
July 20, 2018, 7:55 a.m. |
+ 1 |
for Comment
robspassky: I did some quick tests on python3.5.2 with timeit and len(list(g)) is actually faster than sum(1 for...
|
July 20, 2018, 2:39 a.m. |
+ 3 |
for
sympy.geometry-rodka81
|
July 19, 2018, 10:56 p.m. |
+ 1 |
for Comment
McTpaxep: https://py.checkio.org/forum/post/3268/supported-modules-for-python-36/ recently found it. All avail...
|
July 18, 2018, 6:11 p.m. |
+ 1 |
for
it's safe or nah-ChocolateDisco
|
July 18, 2018, 5:58 p.m. |
+ 1 |
for
First-Nagyunagi
|
July 18, 2018, 5:36 p.m. |
+ 1 |
for Post
Change username
|
July 15, 2018, 6:52 a.m. |
+ 1 |
for Comment
Sim0000: I recommend Elementary first. Good luck :-)
|
July 14, 2018, 6:41 p.m. |
+ 1 |
for Task
Wall Keeper
|
July 14, 2018, 6:55 a.m. |
+ 1 |
for Post
New Mission "Hacker Language"
|
July 12, 2018, 7:41 a.m. |
+ 4 |
for
First-antauren
|
July 11, 2018, 4:39 p.m. |
+ 2 |
for
First-antauren
|
July 11, 2018, 4:26 p.m. |
+ 1 |
for
First-mihail.ponomaryov
|
July 11, 2018, 4:25 p.m. |
+ 1 |
for
First-mozurin
|
July 11, 2018, 4:25 p.m. |
+ 1 |
for
First-yoichi
|
July 11, 2018, 4:19 p.m. |
+ 1 |
for
First-vadim-job-hg
|
July 6, 2018, 1:29 a.m. |
+ 1 |
for
First-Julio_Malhadas_Neto
|
July 6, 2018, 1:24 a.m. |
+ 1 |
for
First-Saingue_Lainglin
|
July 6, 2018, 1:18 a.m. |
+ 1 |
for
First-pvunisvuk
|
May 30, 2018, 12:07 p.m. |
+ 2 |
for
First-Nagyunagi
|
May 15, 2018, 7:40 p.m. |
+ 1 |
for Comment
ArchTauruS: Why not have a try with datetime module ?
|
April 30, 2018, 1:41 p.m. |
+ 1 |
for
Most Frequent-evanwolting
|
April 30, 2018, 1:41 p.m. |
+ 1 |
for
First-Jakob_Wolitzki
|
April 30, 2018, 1:41 p.m. |
+ 1 |
for
First-YagamiXYZ
|
April 30, 2018, 1:41 p.m. |
+ 1 |
for
The Most Frequent-W.Zalicki
|
April 30, 2018, 7:30 a.m. |
+ 1 |
for Task
Domino Chain
|
April 26, 2018, 5:35 p.m. |
+ 1 |
for Task
Largest Rectangle in a Histogram
|
April 26, 2018, 3 p.m. |
+ 1 |
for Comment
Nagyunagi: I see. Is it unnecessary to learn regular expression for a while?
|
April 26, 2018, 3 p.m. |
+ 3 |
for
First-Nagyunagi
|
April 26, 2018, 2:46 p.m. |
+ 3 |
for
First-Nagyunagi
|
April 26, 2018, 2:45 p.m. |
+ 1 |
for Comment
Nagyunagi: Thanks for the review! May be it's about time to learn regular expression.
|
April 26, 2018, 5:19 a.m. |
+ 1 |
for Task
8 Puzzle
|
April 26, 2018, 3:59 a.m. |
+ 1 |
for Task
Bigger Price
|
April 25, 2018, 9:43 a.m. |
+ 1 |
for
First-shichou
|
April 25, 2018, 9:35 a.m. |
+ 1 |
for Comment
veky: I solved it without using any of these (well, I used for, but only in a comprehension. It can easily...
|
April 25, 2018, 6:47 a.m. |
+ 1 |
for Task
Paper Dice
|
April 25, 2018, 6:38 a.m. |
+ 1 |
for Post
New Mission "Sun angle"
|
April 25, 2018, 6:25 a.m. |
+ 1 |
for Task
Sun Angle
|
April 25, 2018, 6:04 a.m. |
+ 1 |
for Comment
veky: The mission would be _a lot_ more interesting without that silly bound on input size. ;-)
|