March 29, 2019, 7:21 p.m. |
+ 1 |
for Comment
inakleinbottle: This seems to do the job, but I don't see where the ranges of values come from (presumably correspon...
|
March 29, 2019, 7:14 p.m. |
+ 1 |
for Comment
DenysChy: Good and simply.
|
March 29, 2019, 7:04 p.m. |
+ 1 |
for Comment
Phil15: @Merzix seems to be in a checkio break. So if anybody who knows russian could update task descriptio...
|
Feb. 23, 2019, 10:15 a.m. |
+ 1 |
for Comment
Phil15: I'm really not sure this kind of tests exists in Simon Tatham's game. I played it a lot too. Usually...
|
Feb. 15, 2019, 9:40 a.m. |
+ 3 |
for
First-yoichi
|
Jan. 26, 2019, 8:30 a.m. |
+ 2 |
for
super().__init__ and lambdas-fed.kz
|
Jan. 22, 2019, 12:49 p.m. |
+ 1 |
for Comment
Phil15: @oduvan I sent a pull request about that.
|
Jan. 22, 2019, 12:49 p.m. |
+ 1 |
for Post
Mistake in the preconditions
|
Jan. 22, 2019, 12:46 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, 4:48 p.m. |
+ 1 |
for Comment
Phil15: It could be more clear to use tuples of strings. For example, surface = ('LWW', # LAND = 'L'; WATER ...
|
Jan. 19, 2019, 8:42 a.m. |
+ 1 |
for Comment
nakanohito_piyo: Now the tests do not check this, so some of the solutions might be wrong.
|
Jan. 19, 2019, 8:40 a.m. |
+ 3 |
for
Batteries!-veky
|
Jan. 19, 2019, 8:16 a.m. |
+ 1 |
for Comment
veky: Those two ifs and a continue can really be made simpler by reversing the logic.
|
Jan. 18, 2019, 3:02 p.m. |
+ 1 |
for Task
Fortress Cannons
|
Jan. 18, 2019, 1:07 p.m. |
+ 4 |
for
lerping-veky
|
Jan. 18, 2019, 1:05 p.m. |
+ 4 |
for
F**k it, going complex.-fuzzy-focus
|
Jan. 18, 2019, 1:03 p.m. |
+ 1 |
for Comment
fuzzy-focus: "Well, that should be some simple line equations, that should be fairly easy..." ZeroDivisionError! ...
|
Jan. 18, 2019, 1:01 p.m. |
+ 3 |
for
namedtuple-Sim0000
|
Jan. 18, 2019, 1 p.m. |
+ 2 |
for
Second-gyahun_dash
|
Jan. 18, 2019, 1 p.m. |
+ 3 |
for
First-suic
|
Jan. 18, 2019, 12:59 p.m. |
+ 4 |
for
Straightforward-nickie
|
Jan. 18, 2019, 7:56 a.m. |
+ 1 |
for Comment
fed.kz: Maybe your method `move_units()` works incorrect
|
Jan. 17, 2019, 4:17 p.m. |
+ 1 |
for Comment
Phil15: @Merzix Pull request (russian translation) merged for signpost and inertia (and sync done).
|
Jan. 17, 2019, 7:04 a.m. |
+ 1 |
for Task
Visibilities
|
Jan. 16, 2019, 1:33 p.m. |
+ 2 |
for
Swordsman = Lancer = Archer = None-flpo
|
Jan. 14, 2019, 7:31 p.m. |
+ 1 |
for Task
Signpost
|
Jan. 14, 2019, 3:59 p.m. |
+ 1 |
for Comment
fed.kz: Do the strings have the same length? On example, my solution gives next result isometric_strings('',...
|
Jan. 14, 2019, 1:33 p.m. |
+ 1 |
for Comment
Phil15: It was easy but I liked it. :-)
|
Jan. 14, 2019, 1:33 p.m. |
+ 1 |
for Post
New Mission "Isometric Strings"
|
Jan. 14, 2019, 1:33 p.m. |
+ 1 |
for Task
Surjection Strings
|
Jan. 14, 2019, 1:17 p.m. |
+ 1 |
for Comment
Phil15: Yeah so isometric_strings('foo', 'bar') == False isometric_strings('bar', 'foo') == True Right?
|
Jan. 5, 2019, 8:30 p.m. |
+ 1 |
for Comment
quarkov: Why not just [[line[i] for line in data] for i in range(len(data[0]))] ? I also used your approach. ...
|
Jan. 4, 2019, 8:19 a.m. |
+ 1 |
for Comment
nakanohito_piyo: Default assertions for generator version might be wrong. I think they should be like this: if __name...
|
Jan. 4, 2019, 7:01 a.m. |
+ 1 |
for Comment
Leonix: Note that `None` result is considered an error: > A function errs if it raises an exception or retur...
|
Jan. 2, 2019, 2:11 p.m. |
+ 1 |
for Comment
Phil15: I agree it's awful ^^. I tried some improvements. Happy new coding year! from math import ceil def a...
|
Jan. 1, 2019, 6:40 p.m. |
+ 1 |
for Comment
Phil15: Happy New Year 2019 to the whole CheckiO community! I learned a lot thanks to you all!
|
Jan. 1, 2019, 8:36 a.m. |
+ 1 |
for Comment
brubru777: Maybe it's because you split the text. You should not need to do that.
|
Jan. 1, 2019, 8:30 a.m. |
+ 1 |
for Post
*** 2019 ***
|
Dec. 31, 2018, 6:46 a.m. |
+ 1 |
for Comment
lukasz181818: nice
|
Dec. 29, 2018, 11:45 a.m. |
+ 1 |
for Task
Colder-Warmer
|
Dec. 29, 2018, 6:30 a.m. |
+ 1 |
for Comment
Phil15: First we can be lost with global variables. And hopefully, we can do a lot of stuff without them. At...
|
Dec. 28, 2018, 8:05 a.m. |
+ 1 |
for Post
caps-lock mission, is the test wrong?
|
Dec. 24, 2018, 7:39 a.m. |
+ 1 |
for Post
New Mission "Inertia"
|
Dec. 24, 2018, 7:28 a.m. |
+ 1 |
for Comment
Sim0000: Do not print your result, return it. You can use boolen value **True**, **False** in Python :-)
|
Dec. 20, 2018, 7:59 p.m. |
+ 1 |
for Comment
kurosawa4434: I am creating an animation. I will attach a sample of the image :)
|
Dec. 20, 2018, 7:56 p.m. |
+ 1 |
for Comment
kurosawa4434: Hi @Phil15 You are awesome ! The first mission you made is great.(And it is very tough :-)) I would ...
|
Dec. 18, 2018, 7:40 a.m. |
+ 1 |
for Task
Net Game
|
Dec. 18, 2018, 7:14 a.m. |
+ 1 |
for Comment
Sim0000: @oduvan, he found precondition error. Please fix it.
|
Dec. 18, 2018, 7:13 a.m. |
+ 1 |
for Post
Problem conditions are wrong
|
Dec. 17, 2018, 2:12 p.m. |
+ 1 |
for Comment
Phil15: `most_common(1)` just keep the first, it's not what you need in each case so just `most_common()`. s...
|
Dec. 16, 2018, 5:46 p.m. |
+ 1 |
for Comment
DahliaSR: It was not a bad idea. Don't feel bad for having an idea, that had good intentions. @Phil15 already ...
|
Dec. 16, 2018, 5:41 p.m. |
+ 1 |
for Post
Error in mission text "caps lock"?
|
Dec. 16, 2018, 3:48 p.m. |
+ 1 |
for Comment
Phil15: Well, "new" mission solved. :-) checkio = lambda n: 2 * old_checkio(n) if n else float('infinity') I...
|
Dec. 15, 2018, 7:33 a.m. |
+ 1 |
for Comment
fed.kz: Do you use the definition of function `def checkio(number):`? If not, it's bad. And just delete inde...
|
Dec. 15, 2018, 7:30 a.m. |
+ 1 |
for Comment
Phil15: First, if you use counter, you can use the method `most_common`. Second, your code don't consider th...
|
Dec. 13, 2018, 5:43 a.m. |
+ 1 |
for Comment
veky: I don't know what are the licencing terms, but you can probably reuse some ideas from Advent of Code...
|
Dec. 12, 2018, 7:31 p.m. |
+ 1 |
for Comment
oduvan: fixed. Please check
|
Dec. 12, 2018, 11:04 a.m. |
+ 1 |
for Comment
kurosawa4434: The input of Extra 1 isn't list.
|
Dec. 12, 2018, 10:29 a.m. |
+ 1 |
for Task
Can Balance
|
Dec. 11, 2018, 1 p.m. |
+ 3 |
for
groupby-TheShu
|
Dec. 11, 2018, 1 p.m. |
+ 4 |
for
One-liner-tom-tom_f993b3abc4814d4cb5476e
|
Dec. 11, 2018, 12:59 p.m. |
+ 3 |
for
First-BrianMcleod
|
Dec. 11, 2018, 12:58 p.m. |
+ 3 |
for
groupby-fokusd
|
Dec. 11, 2018, 12:56 p.m. |
+ 4 |
for
groupby-flpo
|
Dec. 11, 2018, 12:55 p.m. |
+ 3 |
for
Brak-brak-star-veky
|
Dec. 11, 2018, 12:55 p.m. |
+ 1 |
for Comment
BrianMcleod: I like `[*it]`. I used `list(it)`. I didn't know `[*it]` would do the same thing.
|
Dec. 11, 2018, 12:54 p.m. |
+ 3 |
for
itertools.groupby-fed.kz
|
Dec. 11, 2018, 12:53 p.m. |
+ 4 |
for
3-liner: easiest-przemyslaw.daniel
|
Dec. 11, 2018, 12:53 p.m. |
+ 1 |
for Comment
przemyslaw.daniel: If you copy paste it to any PEP8 checker (like for example PyCharm) you see that this kind of import...
|
Dec. 11, 2018, 11:59 a.m. |
+ 1 |
for Comment
guoweifeng216: you must larger than 11
|
Dec. 8, 2018, 8:37 a.m. |
+ 1 |
for Comment
przemyslaw.daniel: Could you also check: assert count_consecutive_summers(34878329773) == 16 assert count_consecutive_s...
|
Dec. 8, 2018, 8:27 a.m. |
+ 1 |
for Comment
BrianMcleod: Great to use the OrderedDict to ensure that the groups come out in order.
|
Dec. 8, 2018, 8:27 a.m. |
+ 1 |
for Comment
BrianMcleod: Nice and clear. I like the get_by_two function
|
Dec. 7, 2018, 10:04 p.m. |
+ 1 |
for Comment
JohanL: Why sort a sorted list just to reverse it? Just use "reversed(...)" directly.
|
Dec. 7, 2018, 4:17 p.m. |
+ 3 |
for
Functional-darmaksimenko
|
Dec. 7, 2018, 4:16 p.m. |
+ 1 |
for
A lot of light-V.Shkaberda
|
Dec. 7, 2018, 4:15 p.m. |
+ 2 |
for
No patterns-vit.aborigen
|
Dec. 5, 2018, 4:01 p.m. |
+ 1 |
for Task
Reverse Every Ascending
|
Dec. 5, 2018, 3:41 p.m. |
+ 1 |
for Task
Sort Array by Element Frequency
|
Dec. 5, 2018, 1:52 p.m. |
+ 1 |
for Comment
Phil15: Personally, I only need hashable elements.
|
Dec. 5, 2018, 1:47 p.m. |
+ 1 |
for Comment
oduvan: fixed
|
Dec. 5, 2018, 1:31 p.m. |
+ 1 |
for Comment
Phil15: You can write `set1 & set2` instead of `set1.intersection(set2)` if you want, it's the same thing.
|
Dec. 5, 2018, 1:18 p.m. |
+ 1 |
for Comment
Hiroaki_Ebihara: I see. Thank you for your kind explanation!!!
|
Dec. 5, 2018, 12:23 p.m. |
+ 1 |
for Task
Count Consecutive Summers
|
Dec. 5, 2018, 11:35 a.m. |
+ 1 |
for Comment
Phil15: Maybe you should delete the message with the code of a solution. I won't read it I promise.
|
Dec. 5, 2018, 10:50 a.m. |
+ 1 |
for Comment
oduvan: yes. Fixed for both missions. Thanks
|
Dec. 5, 2018, 10:50 a.m. |
+ 1 |
for Comment
oduvan: should be fixed. Both issues
|
Dec. 5, 2018, 10:19 a.m. |
+ 1 |
for Comment
vit.aborigen: Same for the "Sort Array by Element Frequency" mission
|
Dec. 5, 2018, 9:47 a.m. |
+ 1 |
for Comment
kurosawa4434: https://github.com/oduvan/checkio-mission-reverse-ascending-sublists/blob/master/verification/refere...
|
Dec. 5, 2018, 9:34 a.m. |
+ 1 |
for Comment
shchepilovmikhail: **The code runs well, but rises error on test.** TypeError: reverse_ascending() argument after ** mu...
|
Dec. 5, 2018, 7:38 a.m. |
+ 1 |
for Comment
oduvan: fixed
|
Dec. 2, 2018, 5:22 a.m. |
+ 1 |
for Comment
Phil15: We are all ready to help people here but we need a few things. The first of all is to tag your post ...
|
Dec. 1, 2018, 7:26 a.m. |
+ 1 |
for Comment
Tariq_Imtinan: edited it...
|
Nov. 30, 2018, 2:58 p.m. |
+ 1 |
for Task
Moore Neighbourhood
|
Nov. 30, 2018, 2:01 p.m. |
+ 1 |
for Comment
Phil15: Well here, use a key for sorting here is complicated. You have two things a and b and want to know i...
|
Nov. 30, 2018, 10:33 a.m. |
+ 1 |
for Task
The Most Frequent Weekdays
|
Nov. 30, 2018, 7:46 a.m. |
+ 4 |
for
numpy-rodka81
|
Nov. 30, 2018, 7:46 a.m. |
+ 3 |
for
First-H4stoor
|
Nov. 30, 2018, 7:46 a.m. |
+ 1 |
for
First-Vasily__Chibilyaev
|
Nov. 29, 2018, 7:12 p.m. |
+ 1 |
for Comment
Phil15: (elem.__class__ is list) or isinstance(elem, list) Don't write a list if you want a set... digits = ...
|