May 30, 2024, 3:04 p.m. |
+ 1 |
for Comment
U.V: > Preconditions: > 0 < n < 30 Validator for this task is invalid assert boundaries(1000, 'averyshort...
|
May 26, 2024, 9:53 a.m. |
+ 1 |
for Comment
Selindian: In my opinion, the mission text is now unambiguous and clear. The mision itself was quite easy for m...
|
May 26, 2024, 9:49 a.m. |
+ 1 |
for Comment
adamspj: After posting my comment to you, I looked back at my own solution and found I had used pretty much t...
|
May 22, 2024, 2:26 p.m. |
+ 1 |
for Comment
o.kovalev: Good Solution Happy Coding !
|
May 22, 2024, 4:26 a.m. |
+ 1 |
for Comment
adamspj: I'm not really a fan of this: case _: q.append(i[5:]) It works, assuming no one is ever going to dev...
|
May 19, 2024, 4:49 p.m. |
+ 1 |
for Comment
veky: Exactly. And there is a _very_ annoying trend recently on CiO, where every @freeman_lex's mission ge...
|
May 17, 2024, 4:15 a.m. |
+ 1 |
for Comment
Selindian: I really like this article and the call to write clean and readable code. For me this does not mean ...
|
May 14, 2024, 8:50 a.m. |
+ 1 |
for Comment
officialsammbogo: Short, concise and does the job!
|
May 5, 2024, 6:57 p.m. |
+ 1 |
for Comment
Edward8888: nice
|
May 3, 2024, 4:11 a.m. |
+ 1 |
for Comment
adamspj: I can't argue with logic.
|
May 1, 2024, 4:25 a.m. |
+ 1 |
for Comment
freeman_lex: Added paragraph 9.
|
April 27, 2024, 10:02 a.m. |
+ 1 |
for Comment
Kolia951: Thank you! Templates is an interesting approach, but I think the main problem in mission creation is...
|
April 25, 2024, 11:31 a.m. |
+ 1 |
for Comment
StefanPochmann: Woohoo, Cipher Dict solutions are actually open! Now do that with more Polygon missions, please :-) ...
|
April 25, 2024, 11:30 a.m. |
+ 1 |
for Comment
adamspj: This is a helpful post. I previously didn't realize that difficulty is subjective and relative to ch...
|
April 25, 2024, 11:29 a.m. |
+ 1 |
for Comment
Phil15: I had the same problem 2 or 3 times overall and would have appreciated a way to search comments too.
|
April 16, 2024, 11:02 a.m. |
+ 1 |
for Comment
katnic: Я ничего так и не понял, что значат эти горы пустых скобок? В одних случаях они часть текста, в друг...
|
April 4, 2024, 11:10 a.m. |
+ 1 |
for Comment
Ilis: Good idea to reduce words to chars. And you can write it more clear: `str(0)` can be replaced with `...
|
April 3, 2024, 9:48 a.m. |
+ 1 |
for Comment
nahandove: I like this one. Very succinct. +2
|
March 23, 2024, 4:29 a.m. |
+ 1 |
for Comment
StefanPochmann: Uh... That's not a bunch of one-liners, that's one bunch-liner :-)
|
March 20, 2024, 3:40 p.m. |
+ 1 |
for Comment
igorek_pomin12678: good
|
March 14, 2024, 11:25 a.m. |
+ 1 |
for Comment
mildm: no need to convert str or permutation to list
|
March 12, 2024, 6:14 p.m. |
+ 1 |
for Comment
adamspj: What if there isn't an explanation there? Is it just that early in the month, no recommended mission...
|
March 12, 2024, 6:12 p.m. |
+ 1 |
for Comment
kdim: not trivial
|
March 12, 2024, 6:10 p.m. |
+ 1 |
for Comment
kdim: nice!
|
Feb. 27, 2024, 2:22 p.m. |
+ 1 |
for Comment
Phil15: Types are a mess in Python. I would change the returned type of the function signature to `str | Non...
|
Feb. 27, 2024, 11:14 a.m. |
+ 1 |
for Comment
tokiojapan55: I too thought it was confusing when the input string contained 'error'. I think that is a good fix.
|
Feb. 27, 2024, 10:31 a.m. |
+ 1 |
for Comment
ysenko: No worries, I just wanted to point that out. Thanks for the quick fix!
|
Feb. 27, 2024, 8:31 a.m. |
+ 1 |
for Comment
kurosawa4434: > About returning "error": well, I agree that it is word itself, but if I’ll change it, all solution...
|
Feb. 27, 2024, 8:31 a.m. |
+ 1 |
for Comment
Phil15: Well I think people have to learn that `.split()` is not the same as [spoiler] `.split(' ')` [/spoil...
|
Feb. 27, 2024, 4:24 a.m. |
+ 1 |
for Comment
Phil15: Nice mission for which I have feedback: What if a text has two consecutive spaces? Your solution wou...
|
Feb. 25, 2024, 4:51 p.m. |
+ 1 |
for Comment
freeman_lex: Hello. Why don't you add the mission to polygon station?
|
Feb. 20, 2024, 11:53 a.m. |
+ 1 |
for Comment
trinfin: Hello, thats very creative. Do I see it right, that if i is in 0...9 that each i will be counted and...
|
Feb. 8, 2024, 4:54 a.m. |
+ 1 |
for Comment
bsquare: Ok, it does the work ;)
|
Feb. 5, 2024, 11:28 a.m. |
+ 1 |
for Comment
mindaugas.dadurkevicius: Very clear. Yet channelIndexOn variable name could have been shorter :D
|
Feb. 4, 2024, noon |
+ 1 |
for Comment
viktor.chyrkin: minus 500 hours of life
|
Feb. 4, 2024, noon |
+ 1 |
for Comment
nickie: Now, that's an addition!
|
Feb. 3, 2024, 3:38 a.m. |
+ 1 |
for Comment
adamspj: If you want to go wacky, what about return (a ** ((a | 1 ) / (1 | a))) * (b ** ((b | 1) / (1 | b)))
|
Jan. 30, 2024, 8:33 a.m. |
+ 1 |
for Comment
freeman_lex: It's totally up to you!) I have tried and solved only the first one, but I like it and I guess I wou...
|
Jan. 25, 2024, 4:28 a.m. |
+ 1 |
for Comment
waffell: You motivated me when you deleted my previous solution after adding a new test ;-) Thanks a lot!
|
Jan. 23, 2024, 8:30 a.m. |
+ 1 |
for Comment
tokiojapan55: Since random reviews opened, I verified some codes. Adding the following tests may help you all unde...
|
Jan. 17, 2024, 10:12 a.m. |
+ 1 |
for Comment
Phil15: Why "New York" is an issue? Add a capital letter at the start, add a period/dot at the end if necess...
|
Jan. 15, 2024, 11:30 a.m. |
+ 1 |
for Comment
BrianMcleod: I love the `[::(-1)**row]`.
|
Jan. 13, 2024, 4:04 a.m. |
+ 1 |
for Comment
veky: well, most of the reason is that you left all the asserts in. :-)
|
Jan. 10, 2024, 12:05 p.m. |
+ 1 |
for Comment
zeixes: Excellent solve! I think you published it in wrong category, and this solve must be in "Speedy" =)
|
Jan. 5, 2024, 5:55 p.m. |
+ 1 |
for Comment
tramcrazy: Exactly what I did! Well done, this seems to be the easiest way to do it with the Python default lib...
|
Jan. 4, 2024, 11:27 a.m. |
+ 1 |
for Comment
tokiojapan55: Thank you. It's a Japanese. Mahjong is a very popular game in Japan. I have committed the "fixed lab...
|
Jan. 4, 2024, 5:29 a.m. |
+ 1 |
for Comment
freeman_lex: No need to hurry. The quality is more important. Take your time.
|
Jan. 3, 2024, 7:24 p.m. |
+ 1 |
for Comment
freeman_lex: Since the mission is already cleaned by the community from issues and chronologically is one of the ...
|
Jan. 3, 2024, 3:11 p.m. |
+ 1 |
for Comment
s1337: That is awesome and thank you! No more copy & paste. Checkio was my favourite programming page, but ...
|
Jan. 3, 2024, 2:49 p.m. |
+ 1 |
for Comment
freeman_lex: Nice mission! Have solved just now. Since the output list must be sorted, please change the descript...
|
Jan. 3, 2024, 2:09 p.m. |
+ 1 |
for Comment
freeman_lex: And I have added solved/unsolved icons and tags.
|
Jan. 1, 2024, 10:01 a.m. |
+ 1 |
for Comment
kurosawa4434: https://docs.python.org/3.11/library/stdtypes.html?highlight=str%20count#str.count > Return the numb...
|
Dec. 29, 2023, 4:50 a.m. |
+ 1 |
for Comment
Phil15: Problem with those missions is that tests are weak, you might have an error since a few missions. (B...
|
Dec. 28, 2023, 1:48 p.m. |
+ 1 |
for Comment
Oksana_Antropova: I might be terribly wrong, but it seems to me that putting all the logic into fight function is not ...
|
Dec. 28, 2023, 1:47 p.m. |
+ 1 |
for Comment
przemyslaw.daniel: How about to remove if statement? def fight(unit_1, unit_2): while unit_1.is_alive and unit_2.is_ali...
|
Dec. 28, 2023, 1:47 p.m. |
+ 1 |
for Comment
Askanio234: This is optional type annotations https://www.python.org/dev/peps/pep-0484/
|
Dec. 27, 2023, 6:15 p.m. |
+ 1 |
for Comment
Phil15: `non_empty_lines("\n" * 5)` would return `5` while the text does not contain any non-empty line. `no...
|
Dec. 25, 2023, 11:08 a.m. |
+ 1 |
for Comment
pavelb89: Parameter 'vampirizm' should be of type 'int'
|
Dec. 24, 2023, 11:07 a.m. |
+ 1 |
for Comment
carel.anthonissen: Seems like overkill. Especially considering the assignment objective: *"Your goal is create the fast...
|
Dec. 15, 2023, 10:26 a.m. |
+ 1 |
for Comment
oleg.sidorov.ds: Interesting one!
|
Dec. 14, 2023, 1:06 p.m. |
+ 1 |
for Comment
kurosawa4434: I think the three tests need fix. m6 => m7 { "input": [['dw', 'p7', 'p9', 'dw', 'm7', 'p8', 'm8', 'p...
|
Dec. 10, 2023, 6:03 p.m. |
+ 1 |
for Comment
freeman_lex: The short answer is Yes. You may fork it to your GH account with proper title, that starts with `che...
|
Dec. 10, 2023, 11:51 a.m. |
+ 1 |
for Comment
freeman_lex: Your code doesn't catch the following. 1. Decreasing frequency order. 2. If two elements have the sa...
|
Dec. 10, 2023, 11:50 a.m. |
+ 1 |
for Comment
Phil15: I find hard to believe that there was no such mission here. Easy. Solved. 😃
|
Dec. 10, 2023, 11:50 a.m. |
+ 1 |
for Comment
veky: There are many trivial tasks, not all of them can be on CiO. :)
|
Dec. 9, 2023, 4:55 a.m. |
+ 1 |
for Comment
freeman_lex: I gladly welcome every new mission author! Please, use the latest mission template https://github.co...
|
Dec. 7, 2023, 4:29 p.m. |
+ 1 |
for Comment
kurosawa4434: In test.py, The following modifications are required: TESTS = { "Basics": [ { "input": [['m7', 's6',...
|
Dec. 7, 2023, 4:29 p.m. |
+ 1 |
for Comment
Phil15: By default, "input" values in TESTS are considered a list of arguments for the user function. So eit...
|
Dec. 7, 2023, 10:46 a.m. |
+ 1 |
for Comment
Phil15: I think the function name should not be `r1`, that's not descriptive even for a variable name. `riic...
|
Dec. 6, 2023, 3:24 p.m. |
+ 1 |
for Comment
kurosawa4434: Congratulations on your first mission! Adding a new mission to CheckiO is a great challenge. First.....
|
Dec. 6, 2023, 9:59 a.m. |
+ 1 |
for Comment
Kolia951: Nice joke!
|
Dec. 4, 2023, 10:08 a.m. |
+ 1 |
for Comment
kurosawa4434: It is the following case: > Note. Chains must be unique. An inverted chain is not considered as uniq...
|
Dec. 3, 2023, 10:01 a.m. |
+ 1 |
for Comment
Kolia951: I guess you need to look at the reqular expressions =)
|
Dec. 1, 2023, 11:51 a.m. |
+ 1 |
for Comment
Phil15: You should look at `datetime.datetime` methods: `strptime` first then `strftime`.
|
Nov. 29, 2023, 11:42 a.m. |
+ 1 |
for Comment
Red_Ale: +5 This is really a great application of _itertools.groupby()_
|
Nov. 29, 2023, 11:41 a.m. |
+ 1 |
for Comment
Oleg_Levonjuk: Nice usage of Python batteries! ;-) My solution was about 10 lines.
|
Nov. 28, 2023, 10:58 a.m. |
+ 1 |
for Comment
veky: > Because membership operators always evaluate to a Boolean value, Python considers them Boolean ope...
|
Nov. 23, 2023, 3:39 p.m. |
+ 1 |
for Comment
mithilkotak: Clear but not creative.
|
Nov. 23, 2023, 3:39 p.m. |
+ 1 |
for Comment
lxf42: no need to call int, len returns an int
|
Nov. 22, 2023, 9:32 a.m. |
+ 1 |
for Comment
nahandove: nice use of round which shortens the program a lot.
|
Nov. 16, 2023, 2:01 p.m. |
+ 1 |
for Comment
crispyrooster: Kind of surprised they don't test for space in the first character class. [+- ] This implies space w...
|
Nov. 15, 2023, 11:34 a.m. |
+ 1 |
for Comment
Kolia951: Hi! What are you expecting in answer? Ready solution?
|
Nov. 12, 2023, 4:26 p.m. |
+ 1 |
for Comment
Phil15: Basically with `[j for i in position for j in i if j != 16]`, you assume that the position of 16 doe...
|
Nov. 12, 2023, 11:15 a.m. |
+ 1 |
for Comment
veky: First and most importantly, don't equate Pythonic with terse. The fact that Python is so expressive ...
|
Nov. 12, 2023, 9:41 a.m. |
+ 1 |
for Comment
mennadiego: Excellent, small and clear code
|
Nov. 10, 2023, 11:06 a.m. |
+ 1 |
for Comment
oduvan: [Here](https://py.checkio.org/mission/is-even/publications/eugene100372/python-3/first/share/e2ea5c7...
|
Nov. 10, 2023, 11:06 a.m. |
+ 1 |
for Comment
drill3r92: wow!
|
Nov. 10, 2023, 10:55 a.m. |
+ 1 |
for Comment
Unnnnnnh: numpy looks great!
|
Nov. 10, 2023, 10:05 a.m. |
+ 1 |
for Comment
Kolia951: Thanks for interesting topics. Regarding namespaces, there is advice to avoid variable shadowing. I ...
|
Nov. 7, 2023, 10:52 a.m. |
+ 1 |
for Comment
oduvan: thanks for testing, and sorry for messed this one out, I'll do my best to avoid those lazy mistakes ...
|
Nov. 7, 2023, 10:52 a.m. |
+ 1 |
for Comment
Ilis: Edge cases with rows = 0 or cols = 0 has no sense, because they do not form zigzag, but annoy :)
|
Nov. 2, 2023, 11:51 a.m. |
+ 1 |
for Comment
Phil15: I made a generalization: multiple battery/junk rooms within a rectangular shaped house. 😋 # ABCDE # ...
|
Oct. 25, 2023, 1:32 p.m. |
+ 1 |
for Comment
freeman_lex: In `s` you collect unique items in order of first appearence, then multiply them in necessary amount...
|
Oct. 24, 2023, 10:25 a.m. |
+ 1 |
for Comment
nickie: Google translate may not know it, but in Greek you usually need an article before nouns, my friend. ...
|
Oct. 24, 2023, 10:24 a.m. |
+ 1 |
for Comment
viktor.chyrkin: круто!
|
Oct. 8, 2023, 9:52 a.m. |
+ 1 |
for Comment
Phil15: I guess you edited the files on the github website, and created a "patch" for each file. The second ...
|
Oct. 5, 2023, 5:52 p.m. |
+ 1 |
for Comment
freeman_lex: Enjoy your translation on site
|
Oct. 5, 2023, 11:11 a.m. |
+ 1 |
for Comment
veky: Bravo! I totally forgot I have sympy here. :-)
|
Oct. 5, 2023, 11:11 a.m. |
+ 1 |
for Comment
jane.novak89: Great solution!
|
Oct. 5, 2023, 6:40 a.m. |
+ 1 |
for Comment
Phil15: https://py.checkio.org/blog/how-to-improve-checkio-missions/ Basically, you find the github reposito...
|