Feb. 26, 2024, 8:42 p.m. |
+ 1 |
for Comment
Phil15: Nice mission for which I have feedback: What if a text has two consecutive spaces? Your solution wou...
|
Feb. 26, 2024, 8:42 p.m. |
+ 1 |
for Task
Word boundaries
|
Dec. 12, 2023, 3:01 p.m. |
+ 1 |
for Comment
marcopunteri: i like the idea of a mission chain with a step-by-step logic, but imho these are the worst missions ...
|
July 2, 2023, 1:28 p.m. |
+ 1 |
for Comment
Mishytca: одно из самых красивых и коротких решений задачи. Функция checkio() получает на вход параметр num в ...
|
July 1, 2023, 9:55 p.m. |
+ 5 |
for
short and clear-StefanPochmann
|
June 19, 2023, 8:40 p.m. |
+ 1 |
for Task
Life Counter
|
June 19, 2023, 8:39 a.m. |
+ 1 |
for Comment
veky: As I said [above](https://py.checkio.org/forum/post/15744/series-about-oop/#comment-122104), that al...
|
June 16, 2023, 11:58 a.m. |
+ 1 |
for Comment
veky: I'm not sure, but I think using getvalue while StringIO is still open might give you unexpected resu...
|
June 16, 2023, 9:45 a.m. |
+ 1 |
for Comment
Phil15: I forgot to divide by 100 in the 7th mission (I know it's dumb). When we are wrong, our result is di...
|
June 1, 2023, 2:51 p.m. |
+ 1 |
for Comment
veky: Read my comment below. "Bad OOP" usually means contrary to a single overarching philosophy, but ther...
|
June 1, 2023, 1:28 p.m. |
+ 1 |
for Comment
veky: Sure, but the task text is wrong. > 4.1. Add the working_engine **class attribute** inside the Car c...
|
June 1, 2023, 7:37 a.m. |
+ 1 |
for Comment
veky: There is no single OOP philosophy. Today people who think their notion of OOP is the right one usual...
|
May 31, 2023, 11 p.m. |
+ 1 |
for Comment
juestr: OOP 4, how to display the message "Engine has started"? I used a print statement initially, but it w...
|
May 31, 2023, 8:01 p.m. |
+ 1 |
for Task
Tree Walker
|
May 31, 2023, 5:29 p.m. |
+ 1 |
for Comment
Phil15: So this is the kind of mission where the mission author works more than 10 users separately, fine wi...
|
May 31, 2023, 4:34 p.m. |
+ 1 |
for Comment
veky: Yeah, I don't really like those missions because they seem fundamentally different from other missio...
|
Feb. 11, 2023, 12:18 p.m. |
+ 1 |
for Comment
juestr: Yes the start-with-zero approach is much better, this makes the first `-` a proper subtraction. In t...
|
Feb. 11, 2023, 12:18 p.m. |
+ 1 |
for Comment
CDG.Axel: Try to press that keys on any calculator - result will be '0', not '10'. I have only one 'real' calc...
|
Feb. 8, 2023, 6:01 p.m. |
+ 1 |
for Comment
lisovsky: Nice solution! Nothing to add.
|
Nov. 4, 2022, 12:30 p.m. |
+ 1 |
for Task
Remove Brackets
|
Oct. 22, 2022, 1:18 p.m. |
+ 2 |
for
1-liner-viktor.chyrkin
|
Oct. 22, 2022, 1:17 p.m. |
+ 1 |
for
First-PythonLearner
|
Oct. 22, 2022, 1:16 p.m. |
+ 1 |
for
First-colinmcnicholl
|
Jan. 14, 2022, 11:53 p.m. |
+ 1 |
for Comment
olevoniuk: Nice solution! Cool example of using Python "batteries". 8-)
|
Dec. 11, 2021, 10:01 a.m. |
+ 5 |
for
getattr(q, op)(*args)-flpo
|
Dec. 1, 2021, 6:31 p.m. |
+ 1 |
for Comment
CDG.Axel: you need no walrus and if-comprehension: return sum( max(0 ,(min(d2, end_watching or d2) - max(d1, s...
|
July 23, 2021, 6:31 p.m. |
+ 3 |
for
__lt__-veky
|
Feb. 27, 2021, 4:31 p.m. |
+ 1 |
for Comment
vvm70: In 15 line no need for [:2]. KvaNTy's code more simple.
|
Jan. 31, 2021, 8:08 p.m. |
+ 1 |
for Comment
SasuH: Took a few reads to understand. Clever solution.
|
Jan. 24, 2021, 11:42 a.m. |
+ 3 |
for
Four winds beneath my wings-veky
|
Dec. 9, 2020, 4:10 p.m. |
+ 1 |
for Comment
MuxaJlbl4: Cool! I like this useage of groupby
|
Dec. 9, 2020, 4:10 p.m. |
+ 1 |
for Comment
Paul-Yuchao-Dong: I was thinking on the same lines, just don't want to construct some unreadable regex pattern. But yo...
|
Oct. 26, 2020, 1:26 p.m. |
+ 1 |
for Comment
t4d3uszk: There's no need to go through every day in a year. It is enough to check only the first and the last...
|
Sept. 27, 2020, 8:16 p.m. |
+ 2 |
for
Restricted Sum-JimmyCarlos
|
Sept. 27, 2020, 8:15 p.m. |
+ 2 |
for
list map-PythonWithPI
|
Sept. 27, 2020, 8:15 p.m. |
+ 2 |
for
Goodint-V.Shkaberda
|
Aug. 14, 2020, 4:35 p.m. |
+ 1 |
for Comment
Phil15: Interesting feature but I noticed a few things. - "DeprecationWarning: fractions.gcd() is deprecated...
|
July 25, 2020, 3:53 p.m. |
+ 1 |
for Comment
joseke: I didn't know that you could define a function on a single line, I also didn tknow that you could us...
|
July 9, 2020, 5:39 p.m. |
+ 1 |
for Comment
r_tchaik: Nice solution. I like it.
|
June 10, 2020, 5:02 p.m. |
+ 1 |
for Comment
r_tchaik: Very nice! Didn't know about this module.
|
May 2, 2020, 8:38 a.m. |
+ 2 |
for
And one-rodka81
|
April 6, 2020, 10:28 p.m. |
+ 1 |
for Comment
PHANTOM0308: Damn! Neat and concise. I was thinking the same way as you, but not as short as yours!
|
April 1, 2020, 1:02 p.m. |
+ 5 |
for
[v3] 1-liner: count odd divisors (the naive way)-Phil15
|
March 29, 2020, 1:52 p.m. |
+ 1 |
for
First-yuwai
|
March 29, 2020, 1:42 p.m. |
+ 3 |
for
7-liner-przemyslaw.daniel
|
March 29, 2020, 1:37 p.m. |
+ 2 |
for
First-tom-tom_f993b3abc4814d4cb5476e
|
March 6, 2020, 9:13 p.m. |
+ 2 |
for
First-yoichi
|
March 2, 2020, 6:18 p.m. |
+ 2 |
for
one-liner-tom-tom_f993b3abc4814d4cb5476e
|
Jan. 30, 2020, 11:29 a.m. |
+ 1 |
for Comment
mailsiraj: You could have avoided the 2 calls to result.append like this: def remove_all_after(items: list, bor...
|
Nov. 11, 2019, 5:40 p.m. |
+ 1 |
for Comment
veky: "Weird things you shouldn't say about Python", especially if you really don't know what you're talki...
|
July 27, 2019, 10:05 a.m. |
+ 2 |
for
Use FP, Luke!-obone
|
July 3, 2019, 2:28 p.m. |
+ 1 |
for Comment
R2R: Educational though
|
May 15, 2019, 10:18 p.m. |
+ 2 |
for
First-denys.contant
|
May 15, 2019, 10:11 p.m. |
+ 1 |
for
Second-colinmcnicholl
|
May 7, 2019, 7:16 p.m. |
+ 3 |
for
import combinations, starmap & gt-flpo
|
April 28, 2019, 12:54 p.m. |
+ 5 |
for
__getitem__-flpo
|
April 25, 2019, 10:49 a.m. |
+ 3 |
for
Brak-brak-star-veky
|
April 25, 2019, 10:49 a.m. |
+ 1 |
for Comment
BrianMcleod: I like `[*it]`. I used `list(it)`. I didn't know `[*it]` would do the same thing.
|
April 25, 2019, 10:49 a.m. |
+ 1 |
for Comment
veky: It's relatively new, you don't need to feel bad about not knowing about it. :-) https://www.python.o...
|
April 24, 2019, 7:22 p.m. |
+ 1 |
for Task
Color Map
|
April 24, 2019, 4:34 p.m. |
+ 2 |
for
Sets-Pouf
|
April 24, 2019, 4:19 p.m. |
+ 3 |
for
Mainly Functional (reviewed)-flpo
|
April 24, 2019, 4:15 p.m. |
+ 4 |
for
First-Vasily__Chibilyaev
|
April 23, 2019, 11:43 a.m. |
+ 3 |
for
map is not the TypeErritory-veky
|
April 22, 2019, 4:02 p.m. |
+ 3 |
for
One-line (itertools.chain.from_iterable)-fokusd
|
April 22, 2019, 4:01 p.m. |
+ 3 |
for
Yield from range()-Merzix
|
April 22, 2019, 4:01 p.m. |
+ 3 |
for
yield from range-flpo
|
April 22, 2019, 4:01 p.m. |
+ 1 |
for
chain-kurosawa4434
|
April 22, 2019, 3:55 p.m. |
+ 1 |
for
First-chunshar
|
April 22, 2019, 3:55 p.m. |
+ 1 |
for Comment
veky: Yeah, extremely new -- not even [10 years old](https://www.python.org/dev/peps/pep-0380/) yet. :-P
|
April 22, 2019, 3:55 p.m. |
+ 3 |
for
yield from range-veky
|
April 22, 2019, 3:52 p.m. |
+ 1 |
for
First-freixodachamorra
|
April 22, 2019, 3:47 p.m. |
+ 3 |
for
yield range-dmitryOk
|
April 22, 2019, 3:47 p.m. |
+ 3 |
for
yield from range-fed.kz
|
April 22, 2019, 12:18 p.m. |
+ 1 |
for Comment
veky: Again you have the same problem. a = [] a.append(a) How deep is `a`? :-P
|
April 16, 2019, 9:01 p.m. |
+ 1 |
for Comment
veky: Please don't invoke pip as a separate command. It could easily get dissociated from your Python inst...
|
April 16, 2019, 8:57 p.m. |
+ 1 |
for Comment
veky: Since I am probably the guiltiest for introducing golfing to CiO, let me say something in my defense...
|
Feb. 15, 2019, 3:07 p.m. |
+ 1 |
for Comment
oduvan: I believe in purpose of Creativity :)
|
Jan. 24, 2019, 10:16 a.m. |
+ 1 |
for Comment
gileadslostson: Lambdas and descriptors? Oh my! ;) Very nice =)
|
Jan. 21, 2019, 2:18 p.m. |
+ 1 |
for Comment
veky: No bugs (except you're missing "said" at one spot), but it's horribly complicated without any reason...
|
Jan. 21, 2019, 2:18 p.m. |
+ 1 |
for Comment
veky: If by "new" you mean "solved by composing two builtin methods", yeah. :-P
|
Jan. 21, 2019, 2:16 p.m. |
+ 1 |
for Post
[Vote] What puzzles do you want?
|
Dec. 11, 2018, 9:23 p.m. |
+ 3 |
for
Lion in Cairo-veky
|
Dec. 11, 2018, 9:19 p.m. |
+ 1 |
for Comment
Phil15: I did use yield from too but I prefered `yield from reversed(run)` to slicing making a copy. I quibb...
|
Oct. 12, 2018, 10:45 a.m. |
+ 1 |
for
Python version upgrade. What's new.
|
Oct. 4, 2018, 2:50 p.m. |
+ 1 |
for Comment
veky: Oh man, I was trying to understand this comment for quite some time and got somewhere, but it's stil...
|
Sept. 28, 2018, 10:38 p.m. |
+ 1 |
for
Short, correct and absolutely rstripped-tovrey
|
Sept. 28, 2018, 10:37 p.m. |
+ 1 |
for
First-Shikiryu
|
Sept. 28, 2018, 10:36 p.m. |
+ 1 |
for
One Liner-diogenes.perez
|
Sept. 28, 2018, 3:01 p.m. |
+ 1 |
for Comment
veky: In _requiring_ iterators. The mission existed fine for a long time. Once you realized that it can be...
|
Sept. 27, 2018, 9:37 a.m. |
+ 1 |
for Comment
veky: I guess you've seen [my solution](https://py.checkio.org/mission/multicolored-lamp/publications/veky...
|
Sept. 26, 2018, 6:29 p.m. |
+ 1 |
for Comment
veky: > Don’t be sorry, but please listen :) I’m by no means the smartest either and this whole discussion...
|
Sept. 26, 2018, 1:17 p.m. |
+ 1 |
for Comment
quarkov: Perhaps it's worth CiO administration to consider holding a kind of conference with the most respect...
|
Sept. 26, 2018, 11:44 a.m. |
+ 1 |
for Comment
przemyslaw.daniel: I can fully undertsand your frustration because it was the same in my case. Almost all tasks on this...
|
Sept. 26, 2018, 11:34 a.m. |
+ 1 |
for Comment
veky: As I said and said all over again, it's not about mistakes, it's about reaction when mistakes are fo...
|
Sept. 23, 2018, 9 p.m. |
+ 1 |
for Comment
veky: Absolutely. But that requires the task setter to actually be there, to listen to complaints, and to ...
|
Sept. 22, 2018, 9 p.m. |
+ 1 |
for Comment
veky: CiO helped you - great! Can you be more precise - in what way? :-) As far as raw task solving goes, ...
|
Sept. 22, 2018, 8:54 p.m. |
+ 1 |
for Comment
veky: What makes you think that "updating the task description" (really, making a new task similar to this...
|
Sept. 22, 2018, 8:53 p.m. |
+ 1 |
for Post
Escher island -- intentional misleading
|
Sept. 17, 2018, 2:13 p.m. |
+ 1 |
for Post
Incorrect and inconsistent TypeErrors
|