Feb. 3, 2023, 1:14 p.m. |
+ 1 |
for Comment
H0r4c3: Thank you!
|
Feb. 3, 2023, 1:14 p.m. |
+ 5 |
for
Using numpy and itertools/groupby-H0r4c3
|
Feb. 3, 2023, 1:13 p.m. |
+ 5 |
for
All the Romans (there are no romans left)-oduvan
|
Feb. 3, 2023, 1:13 p.m. |
+ 5 |
for
Using pop()-H0r4c3
|
Feb. 3, 2023, 1:12 p.m. |
+ 1 |
for Comment
H0r4c3: Thank you!
|
Feb. 3, 2023, 1:12 p.m. |
+ 5 |
for
First-H0r4c3
|
Feb. 3, 2023, 1:12 p.m. |
+ 1 |
for Comment
H0r4c3: Good use of sorted() with key!
|
Feb. 3, 2023, 1:12 p.m. |
+ 5 |
for
Using regex, ord(), chr()-H0r4c3
|
Feb. 3, 2023, 1:12 p.m. |
+ 1 |
for Comment
H0r4c3: Good use of operators from the module operator!
|
Feb. 3, 2023, 1:09 p.m. |
+ 4 |
for
One more "first" solution-Kolia951
|
Feb. 3, 2023, 1:08 p.m. |
+ 1 |
for Comment
Kolia951: The shortest solution I have seen for this mission.
|
Feb. 3, 2023, 1:02 p.m. |
+ 4 |
for
Inspired by "kdim"-Kolia951
|
Feb. 3, 2023, 12:17 p.m. |
+ 1 |
for Comment
Kolia951: Genius solution! My respect. Illustrates the power of man's brain and Regex =)
|
Feb. 3, 2023, 1:58 a.m. |
+ 1 |
for Comment
Kolia951: Dear Lisovskiy, you have added more than five same non-friendly comments to the site's novices (with...
|
Feb. 3, 2023, 1:53 a.m. |
+ 1 |
for Comment
lisovsky: Excellent recursive algorithm. Nothing to add!
|
Feb. 2, 2023, 5:26 p.m. |
+ 1 |
for Comment
lisovsky: Interesting idea! This is the first time I see such a solution. My solution :( sum([op(int(bit * sec...
|
Feb. 2, 2023, 5:25 p.m. |
+ 1 |
for Comment
mikaeldovbnia: And at least it is shorter than mine. I have a lot more code. Haha.
|
Feb. 2, 2023, 5:25 p.m. |
+ 1 |
for Comment
mikaeldovbnia: It's a bit hard to read, but it is nice to me.
|
Feb. 2, 2023, 7:12 a.m. |
+ 1 |
for Comment
Kolia951: This is a popular approach to use brute force to solve the mission =) I did the same!
|
Feb. 2, 2023, 7:12 a.m. |
+ 1 |
for Comment
Kolia951: I like this return =)
|
Feb. 2, 2023, 7:12 a.m. |
+ 1 |
for Comment
Kolia951: Zen of Python is crying =) Anyway, thanks for sharing this.
|
Feb. 2, 2023, 7:12 a.m. |
+ 1 |
for Comment
H0r4c3: Thanks! Good suggestion!
|
Feb. 2, 2023, 7:12 a.m. |
+ 1 |
for Comment
Kolia951: Nice solution! To remove `elif` I would propose the following regex: [a-z]\s?
|
Feb. 2, 2023, 7:12 a.m. |
+ 1 |
for Comment
Kolia951: Very smart! Did not know before about the `ord()` and `chr()` functions. I am always learning someth...
|
Feb. 1, 2023, 6:26 p.m. |
+ 1 |
for Comment
U.V: It's not recommended to use builting function names as identificator names. Symbol: id Runtime type:...
|
Feb. 1, 2023, 2:06 a.m. |
+ 1 |
for Comment
Kolia951: It would be nice to add some spaces here between an operators (as PEP8 recommends). if num % 15 == 0...
|
Feb. 1, 2023, 2:06 a.m. |
+ 1 |
for Comment
Kolia951: Smart approach to divide by 15
|
Feb. 1, 2023, 2:05 a.m. |
+ 1 |
for Comment
Kolia951: Wow, interesting idea to use regex here, but as I understand the main approach to use regex is impos...
|
Feb. 1, 2023, 2:05 a.m. |
+ 1 |
for Comment
Kolia951: Don't you think that some spaces between operators are missed here? =)
|
Jan. 31, 2023, 4:27 p.m. |
+ 1 |
for Comment
Kolia951: Wow! This is an amazing solution! I was thought "for what purposes did you use + sign" around 15 min...
|
Jan. 30, 2023, 5:28 p.m. |
+ 1 |
for Comment
McBMcB: Very short solution.
|
Jan. 30, 2023, 6:31 a.m. |
+ 1 |
for Comment
hbczmxy: Your solution is really great! I love it so much!
|
Jan. 29, 2023, 4:44 p.m. |
+ 1 |
for Comment
zalikovka: Thanks, now I see an easier way to rotate coordinates.
|
Jan. 28, 2023, 2 p.m. |
+ 1 |
for Comment
H0r4c3: Great solution!
|
Jan. 27, 2023, 11:47 a.m. |
+ 1 |
for Comment
Kolia951: You have done it the most concise way! By the way I have some concerns regarding row2, it does not a...
|
Jan. 26, 2023, 5:41 p.m. |
+ 1 |
for Comment
Kolia951: You chosed a hard way =) Why don't you take a datetime module?
|
Jan. 26, 2023, 5:40 p.m. |
+ 1 |
for Comment
Kolia951: Sure, but if we are starting from the point where Ivan began his way here then the next step is date...
|
Jan. 26, 2023, 5:40 p.m. |
+ 1 |
for Comment
Ivan_Malashenko: It's next step. Optimize code =)))
|
Jan. 26, 2023, 3:01 p.m. |
+ 1 |
for Comment
Kolia951: How much time did you spend to create this regex? =)
|
Jan. 26, 2023, 2:59 p.m. |
+ 1 |
for Comment
Kolia951: Interesting approach. You can simplify your checks just like this: if num//3 == num/3: var_3 = "Fizz...
|
Jan. 26, 2023, 2:58 p.m. |
+ 1 |
for Comment
Kolia951: Very creative approach using strings concatenation!
|
Jan. 25, 2023, 4:49 p.m. |
+ 1 |
for Comment
U.V: Simple and clear
|
Jan. 25, 2023, 2:08 a.m. |
+ 5 |
for
builtin-juestr
|
Jan. 25, 2023, 2 a.m. |
+ 1 |
for Comment
Kolia951: One time I have read on the stackoverflow.com how to use dict method get() instead of defaultdict, b...
|
Jan. 24, 2023, 4:37 p.m. |
+ 5 |
for
Make it shorter (commented)!-CDG.Axel
|
Jan. 24, 2023, 4:36 p.m. |
+ 1 |
for Comment
U.V: Да. Спасибо за замечания, Ваше решение действительно красивее. Постараюсь поюзать это на практике ( ...
|
Jan. 24, 2023, 4:36 p.m. |
+ 1 |
for Comment
CDG.Axel: Ваше решение можно слегка упростить... Для начала так: l//2 + l%2 - 1 --> (l - 1) // 2 Следующим шаг...
|
Jan. 24, 2023, 4:36 p.m. |
+ 5 |
for
slice'n'len-CDG.Axel
|
Jan. 24, 2023, 4:33 p.m. |
+ 1 |
for Comment
CDG.Axel: А ещё можно использовать итератор count из itertools, это слегка удлиннит решение, но зато напрочь у...
|
Jan. 24, 2023, 4:33 p.m. |
+ 1 |
for Comment
CDG.Axel: Есть одна штука, которая позволит вам напрочь убрать второй цикл... А именно (-1) ** i, которая буде...
|
Jan. 24, 2023, 4:33 p.m. |
+ 1 |
for Comment
CDG.Axel: На самом деле нет нужды лично анализировать близость к меньшему и большему "квадратичным" числам. Эт...
|
Jan. 24, 2023, 4:32 p.m. |
+ 5 |
for
4 lines less but weird-CDG.Axel
|
Jan. 24, 2023, 4:32 p.m. |
+ 5 |
for
Counter or not? (2 solutions)-CDG.Axel
|
Jan. 24, 2023, 4:17 p.m. |
+ 5 |
for
First graphs expirience-Kolia951
|
Jan. 24, 2023, 4:15 p.m. |
+ 1 |
for Comment
H0r4c3: Good use of combinations Class. I like brute force, too.
|
Jan. 24, 2023, 4:14 p.m. |
+ 1 |
for Comment
H0r4c3: Great solution!
|
Jan. 24, 2023, 3:59 p.m. |
+ 2 |
for
Fibonacci generator-Kolia951
|
Jan. 24, 2023, 3:58 p.m. |
+ 1 |
for Comment
Kolia951: Thanks for an interesting task!I was a little bit confused by your example in the description. It lo...
|
Jan. 24, 2023, 3:58 p.m. |
+ 1 |
for Post
New Mission "Fibonacci Poem"
|
Jan. 24, 2023, 3:58 p.m. |
+ 1 |
for Comment
Kolia951: Is that standard DFS (depth-first search) algorithm or your own?
|
Jan. 24, 2023, 3:58 p.m. |
+ 1 |
for Comment
Red_Ale: That is my own. I am not aware of this DFS algorithm. My solution is "primitive". I saw (in the solu...
|
Jan. 24, 2023, 3:58 p.m. |
+ 1 |
for Comment
Kolia951: You can read about DFS here: https://en.wikipedia.org/wiki/Depth-first_search
|
Jan. 24, 2023, 3:58 p.m. |
+ 1 |
for Comment
Red_Ale: After reading the DFS wiki, I may say that the solution I developed belongs to this category.
|
Jan. 24, 2023, 3:52 p.m. |
+ 3 |
for
Numpy rulezzz-Kolia951
|
Jan. 24, 2023, 5:50 a.m. |
+ 3 |
for
First-tokiojapan55
|
Jan. 22, 2023, 2:07 a.m. |
+ 1 |
for Comment
H0r4c3: Nice solution!
|
Jan. 22, 2023, 2:06 a.m. |
+ 1 |
for Comment
H0r4c3: A very good lesson in regex!
|
Jan. 18, 2023, 1:59 a.m. |
+ 1 |
for Comment
mikaeldovbnia: Smart solution. And ver short.
|
Jan. 17, 2023, 2:01 a.m. |
+ 1 |
for Comment
H0r4c3: Nice use of combinations Class from module itertools!
|
Jan. 16, 2023, 12:40 p.m. |
+ 3 |
for
Lambda-U.V
|
Jan. 15, 2023, 5:28 p.m. |
+ 1 |
for Task
Huffman Encode
|
Jan. 14, 2023, 5:13 a.m. |
+ 1 |
for Comment
kurosawa4434: I have improved the visualization script. https://github.com/CheckiO-Missions/checkio-mission-fibo-s...
|
Jan. 14, 2023, 5:13 a.m. |
+ 1 |
for Comment
kurosawa4434: Yes I agree :-D Let's improve!
|
Jan. 14, 2023, 5:13 a.m. |
+ 1 |
for Comment
freeman_lex: Thank you very much for the contribution!) Merged! I just really miss respective squares (by some li...
|
Jan. 14, 2023, 5:13 a.m. |
+ 1 |
for Comment
veky: The return type is very weird (as can be seen from the annotation). Tuple would be much more appropr...
|
Jan. 14, 2023, 5:13 a.m. |
+ 1 |
for Comment
kurosawa4434: This mission has good images :-) I made script of visualization for the mission. Please check the fo...
|
Jan. 14, 2023, 5:13 a.m. |
+ 1 |
for Comment
Selindian: Nice mission. I think it is also well suited for beginners, as it can also be solved with "basics". ...
|
Jan. 14, 2023, 5:13 a.m. |
+ 1 |
for Comment
biorockstar: I did try regexing it at first, but gave up when it was almost the width of the editor box and still...
|
Jan. 14, 2023, 5:13 a.m. |
+ 1 |
for Comment
veky: A very nice mission. I guess it can be regexed into oblivion, but it can also be solved with simple ...
|
Jan. 14, 2023, 5:13 a.m. |
+ 1 |
for Post
New Mission "Reveal the Number"
|
Jan. 14, 2023, 5:12 a.m. |
+ 1 |
for Comment
piter239: lambda rules!
|
Jan. 14, 2023, 5:12 a.m. |
+ 1 |
for Comment
veky: Even if it didn't, [num for num in blah] is simply list(blah). :-)
|
Jan. 14, 2023, 5:12 a.m. |
+ 1 |
for Comment
veky: Whenever you write a function of the form def name(whatever arguments): return some expression you c...
|
Jan. 14, 2023, 5:12 a.m. |
+ 1 |
for Comment
veky: I was never concerned about what's in favor. >.< But this is an ordinary function train. In every la...
|
Jan. 14, 2023, 5:12 a.m. |
+ 1 |
for Comment
veky: ... and so we've gone a full circle. People who for more than 10 years couldn't stand my solutions w...
|
Jan. 14, 2023, 5:11 a.m. |
+ 1 |
for Comment
veky: Honestly, I used isdigit since it is shortest :-D, and in the context of the task (The text consists...
|
Jan. 14, 2023, 5:11 a.m. |
+ 1 |
for Comment
veky: Whatever your religious or philosophical convictions are, surely you don't believe that CS knowledge...
|
Jan. 14, 2023, 5:11 a.m. |
+ 1 |
for Comment
veky: You can start with PEP257. It is a bit dated, but contain lots of advice. For this particular instan...
|
Jan. 14, 2023, 5:11 a.m. |
+ 1 |
for Comment
veky: Comprehension rules here. Lambda just gives it an opportunity to shine. :-)
|
Jan. 14, 2023, 5:09 a.m. |
+ 1 |
for Comment
lisovsky: You can write even easier: max(args, default=0) - min(args, default=0)
|
Jan. 14, 2023, 5:09 a.m. |
+ 1 |
for Comment
lisovsky: Try using this function: lines = textwrap.wrap(text, width) I think the solution will be easier. htt...
|
Jan. 14, 2023, 5:07 a.m. |
+ 5 |
for
First-dig
|
Jan. 14, 2023, 5:07 a.m. |
+ 1 |
for Comment
dig: Many thanks Kolia! I will consider that next time :)
|
Jan. 14, 2023, 5:07 a.m. |
+ 1 |
for Comment
Kolia951: I think this was really hard to solve not to using a Numpy module! Did you hear about it? Regarding ...
|
Jan. 14, 2023, 5:07 a.m. |
+ 1 |
for Comment
dig: Oups! I'm feeling a bit stupid! Thanks a lot :)
|
Jan. 14, 2023, 5:07 a.m. |
+ 1 |
for Comment
Kolia951: Of course, but `True == 1` and `False == 0` and vice versa. This is fundamental thing in Python.
|
Jan. 14, 2023, 5:07 a.m. |
+ 1 |
for Comment
dig: But if I do that, it would return True or False instead of 0 or 1, isn't it?
|
Jan. 14, 2023, 5:07 a.m. |
+ 1 |
for Comment
Kolia951: Some comments regarding your approach: You can instantly return like this: if operation == OP[4]: re...
|
Jan. 14, 2023, 5:06 a.m. |
+ 5 |
for
Regex Match Group-Wartem
|
Jan. 14, 2023, 5:06 a.m. |
+ 1 |
for Comment
Kolia951: Great regular expression! My one is in 3 times longer =)
|