Feb. 26, 2023, 11:05 a.m. |
+ 3 |
for
set-kamjir
|
Feb. 26, 2023, 8:15 a.m. |
+ 1 |
for Task
Shorter Set
|
Feb. 26, 2023, 8:09 a.m. |
+ 2 |
for
use any-kdim
|
Feb. 26, 2023, 7:52 a.m. |
+ 2 |
for
First-Red_Ale
|
Feb. 26, 2023, 7:48 a.m. |
+ 2 |
for
First-toyosimasinn_15c0370466af400ba
|
Feb. 26, 2023, 7:45 a.m. |
+ 1 |
for
First-diwert-ai
|
Feb. 26, 2023, 7:41 a.m. |
+ 2 |
for
First-zongareight
|
Feb. 26, 2023, 7:37 a.m. |
+ 2 |
for
Too complicated and cumbersome solution, but I tried (I also commented everything here)))-samatdav02
|
Feb. 26, 2023, 7:36 a.m. |
+ 1 |
for Comment
veky: No big deal, I read all the comments. ;-)
|
Feb. 25, 2023, 5:52 a.m. |
+ 1 |
for
Othello Moves Over Stepping Stones, Decorators and Environments!
|
Feb. 24, 2023, 9:05 p.m. |
+ 1 |
for Comment
freeman_lex: `(float if dot else int)()` cool!
|
Feb. 24, 2023, 9:03 p.m. |
+ 5 |
for
float if dot else int-veky
|
Feb. 21, 2023, 3:54 p.m. |
+ 1 |
for Comment
Sim0000: Thank you for your comment. I try to count iterations. 1**1 27 2**2 25 3**3 23 4**4 21 5**5 19 6**6 ...
|
Feb. 21, 2023, 3:53 p.m. |
+ 1 |
for Comment
Sim0000: Yes, W function is still hard for me. It will be a future item. Thanks:-)
|
Feb. 21, 2023, 3:53 p.m. |
+ 1 |
for Comment
veky: You don't have to. :-) It turns out logarithm behaves nice enough. I just selected Lambert because o...
|
Feb. 21, 2023, 3:52 p.m. |
+ 1 |
for Comment
veky: Initial value is "wrong" in the sense that its f(x)=x**x is too big. f is a really steep function, s...
|
Feb. 21, 2023, 3:51 p.m. |
+ 1 |
for
Newton method-Sim0000
|
Feb. 21, 2023, 3:51 p.m. |
+ 2 |
for
log then Newton-Sim0000
|
Feb. 21, 2023, 3:50 p.m. |
+ 2 |
for
Super Root-ABAS2012
|
Feb. 21, 2023, 3:46 p.m. |
+ 3 |
for
log then Halley-Sim0000
|
Feb. 21, 2023, 3 p.m. |
+ 1 |
for Comment
Sim0000: This code is faster than [previous version](http://www.checkio.org/mission/super-root/publications/S...
|
Feb. 20, 2023, 9:32 p.m. |
+ 1 |
for Comment
bryukh: Honestly, with first look I didn't see something tricky there. But after your answer to Sim0000 I ha...
|
Feb. 20, 2023, 3 p.m. |
+ 1 |
for Task
Super Root
|
Feb. 18, 2023, 6:32 p.m. |
+ 1 |
for Task
Three Points Circle
|
Feb. 18, 2023, 1:34 p.m. |
+ 1 |
for Comment
veky: it means that the stopping condition will be provided elsewhere.
|
Feb. 18, 2023, 1:34 p.m. |
+ 1 |
for Comment
viktor.chyrkin: This is cool I like this. But what does the triple dot mean?
|
Feb. 18, 2023, 1:15 p.m. |
+ 3 |
for
Double Loop in 1 line-NEED
|
Feb. 18, 2023, 1:14 p.m. |
+ 2 |
for
Oneliner MapListZip-ayubutrym
|
Feb. 18, 2023, 1:13 p.m. |
+ 2 |
for
zip and *-imloafer
|
Feb. 18, 2023, 1:06 p.m. |
+ 2 |
for
First-viktor.chyrkin
|
Feb. 18, 2023, 1:06 p.m. |
+ 3 |
for
Should be easy to understand-Selindian
|
Feb. 17, 2023, 9:51 p.m. |
+ 1 |
for Task
Count Consecutive Summers
|
Feb. 8, 2023, 9:32 p.m. |
+ 1 |
for Comment
veky: Yes, I know what you mean, but that's imprecise. Python functions always evaluate all their argument...
|
Feb. 8, 2023, 9:30 p.m. |
+ 1 |
for Comment
veky: Why does everybody say `n//100>0` instead of `n>=100` (or `n>99`)? I find it fascinating. :-O Also, ...
|
Feb. 8, 2023, 6:06 p.m. |
+ 1 |
for Comment
veky: > Is condition if a standalone function that “keeps” or “gives” the argument to append function if T...
|
Feb. 8, 2023, 1 p.m. |
+ 1 |
for Comment
zerel: Thank you!!
|
Feb. 8, 2023, 1 p.m. |
+ 1 |
for Comment
zerel: Thanks for the feedback. I honestly didn't know about >string.ascii_lowercase< and this was just a q...
|
Feb. 5, 2023, 7:31 p.m. |
+ 2 |
for
First-Sim0000
|
Feb. 5, 2023, 7:31 p.m. |
+ 1 |
for Comment
unidwell: Lovely m8 :-) Super idea to use the sets for complete sub-graphs (if something is completely connect...
|
Feb. 5, 2023, 7:30 p.m. |
+ 1 |
for Comment
FanHuang: excuse me but what does the "|=" mean?
|
Feb. 5, 2023, 7:30 p.m. |
+ 1 |
for Comment
Sim0000: |= is set operation update. A = {1,2,3} and B = {3,4,5}, then result of A |= B is A = {1,2,3,4,5}. A...
|
Feb. 5, 2023, 4:42 p.m. |
+ 3 |
for
First-makoto_yamagata
|
Feb. 5, 2023, 4:07 p.m. |
+ 1 |
for Comment
Phil15: I usually prefer more descriptive titles but here, come on... It does not bother me to compare alpha...
|
Feb. 5, 2023, 11:27 a.m. |
+ 3 |
for
First-dolgopyat4
|
Feb. 5, 2023, 11:25 a.m. |
+ 1 |
for
First-rustamgiz
|
Feb. 5, 2023, 11:18 a.m. |
+ 2 |
for
First-mikehult123
|
Feb. 5, 2023, 11:11 a.m. |
+ 3 |
for
That's it?!-Phil15
|
Feb. 4, 2023, 9:08 p.m. |
+ 1 |
for Comment
yoichi: Great! This code explicitly expresses that only total() depends on food and drink name.
|
Feb. 4, 2023, 9:06 p.m. |
+ 3 |
for
abc-Sim0000
|
Feb. 4, 2023, 9 p.m. |
+ 1 |
for Comment
colinmcnicholl: Not sure how random these random reviews are. This code is no doubt created by someone with much mor...
|
Feb. 4, 2023, 9 p.m. |
+ 1 |
for Comment
Sim0000: Thanks for your review. For your reference. Design patterns were created for old specification langu...
|
Feb. 4, 2023, 9 p.m. |
+ 1 |
for Comment
jvollme: hmm, not sure i quite understand yet: I get that variables defined in a function are persistent in t...
|
Feb. 4, 2023, 9 p.m. |
+ 1 |
for Comment
Sim0000: As I understand it, every function in Python has an attribute called \_\_closure\_\_ that holds a va...
|
Feb. 4, 2023, 9 p.m. |
+ 1 |
for Comment
Sim0000: The food_name and drink_name are used in line 13. Do you know about Python's closure? For example, t...
|
Feb. 4, 2023, 9 p.m. |
+ 1 |
for Comment
jvollme: i don't quite get it. the food and drink names are passed to the factory function, but apparently no...
|
Feb. 4, 2023, 8:58 p.m. |
+ 3 |
for
class factory-Sim0000
|
Feb. 4, 2023, 8:41 p.m. |
+ 1 |
for Task
Army Units
|
Feb. 4, 2023, 9:46 a.m. |
+ 2 |
for
using defaultdict-oduvan
|
Feb. 4, 2023, 9:45 a.m. |
+ 1 |
for Comment
hbczmxy: Thank you for the classic example you used for defaultdict in Aggregate and Count. I was searching f...
|
Feb. 4, 2023, 9:27 a.m. |
+ 1 |
for Task
Aggregate and Count
|
Feb. 4, 2023, 9:22 a.m. |
+ 2 |
for
First-toyosimasinn_15c0370466af400ba
|
Feb. 4, 2023, 8:46 a.m. |
+ 1 |
for Task
Geometry Figures
|
Feb. 3, 2023, 9:26 p.m. |
+ 1 |
for
First-Hunteena
|
Feb. 3, 2023, 9:24 p.m. |
+ 2 |
for
First-k_s_2022
|
Feb. 3, 2023, 9:15 p.m. |
+ 1 |
for
First-zerel
|
Feb. 2, 2023, 6:32 p.m. |
+ 1 |
for Comment
bryukh: Good point. Honestly, I didn't know about this feature of "endswith". Thx
|
Feb. 2, 2023, 6:32 p.m. |
+ 1 |
for Comment
masero: Hi, as endswith() accepts tuples, isn't better to write for w in words: if w.endswith(tuple(x for x ...
|
Feb. 2, 2023, 6:29 p.m. |
+ 1 |
for Comment
Lijantropique: You're absolutely right. With the “if”, the product is not the best option but the permutations.
|
Jan. 31, 2023, 8:41 p.m. |
+ 1 |
for Task
Ulam–Warburton Automaton
|
Jan. 31, 2023, 8:41 p.m. |
+ 1 |
for Task
Ulam-Warburton Automaton Hex
|
Jan. 31, 2023, 8:41 p.m. |
+ 1 |
for Task
Peaceable Queens
|
Jan. 28, 2023, 9:55 p.m. |
+ 2 |
for
class practice-Takeshi_Sue
|
Jan. 28, 2023, 9:55 p.m. |
+ 1 |
for
First_word using for, if-PopovNick
|
Jan. 28, 2023, 9:54 p.m. |
+ 2 |
for
First Word (simplified)-JimmyCarlos
|
Jan. 28, 2023, 9:52 p.m. |
+ 2 |
for
First-adelcoo
|
Jan. 28, 2023, 9:44 p.m. |
+ 1 |
for Comment
ers_0x: Thanks for notes and comments! Very helpful for newbie.
|
Jan. 28, 2023, 9:44 p.m. |
+ 1 |
for Comment
TrangOul: Padding the original input was clever. The rest is pretty straightforward (if one understands how sl...
|
Jan. 28, 2023, 9:44 p.m. |
+ 1 |
for Comment
natter1: if not len(a) % 2 == 0: is something like "not is False" -> same as True -> if len(a) % 2:
|
Jan. 28, 2023, 9:43 p.m. |
+ 1 |
for Comment
mailsiraj: I liked your clear comments and the use of yield. Thank you
|
Jan. 28, 2023, 9:43 p.m. |
+ 2 |
for
Nothing Special-undead2k
|
Jan. 28, 2023, 9:41 p.m. |
+ 3 |
for
while chunk yield chunk-veky
|
Jan. 21, 2023, 8:56 p.m. |
+ 1 |
for Task
Magic Square
|
Jan. 18, 2023, 5:10 p.m. |
+ 1 |
for Comment
Phil15: Forum syntax is based on markdown syntax. If you do not indent your code entirely (or select your co...
|
Jan. 17, 2023, 9:03 p.m. |
+ 3 |
for
Regex-Rcp8jzd
|
Jan. 16, 2023, 9:12 p.m. |
+ 2 |
for
1-liner: split-przemyslaw.daniel
|
Jan. 16, 2023, 9:07 p.m. |
+ 2 |
for
My solve-9214491
|
Jan. 16, 2023, 9:03 p.m. |
+ 2 |
for
My solve-9214491
|
Jan. 16, 2023, 8:55 p.m. |
+ 2 |
for
First-Red_Ale
|
Jan. 16, 2023, 8:45 p.m. |
+ 3 |
for
First-toyosimasinn_15c0370466af400ba
|
Jan. 16, 2023, 8:29 p.m. |
+ 2 |
for
pop + cat oneliner-leggewie
|
Jan. 16, 2023, 8:25 p.m. |
+ 2 |
for
First: walk around the edges-leggewie
|
Jan. 16, 2023, 8:20 p.m. |
+ 2 |
for
divmod%-Phil15
|
Jan. 16, 2023, 5:14 p.m. |
+ 2 |
for
multiply instead -- 87 chrs-juestr
|
Jan. 16, 2023, 5:12 p.m. |
+ 3 |
for
64 chars with explanations-Ylliw
|
Jan. 16, 2023, 5:11 p.m. |
+ 1 |
for Comment
PythonWithPI: Python has a :=? And how does the math for this work? Cool bitshifting solution!
|
Jan. 16, 2023, 5:11 p.m. |
+ 1 |
for Comment
przemyslaw.daniel: This is brand new feature introduced in python 3.8. You can read about it for example [here](https:/...
|
Jan. 16, 2023, 5:03 p.m. |
+ 3 |
for
[py3.8+] 1-liner/98 chars with walrus/shifts operators-Phil15
|
Jan. 16, 2023, 5:03 p.m. |
+ 1 |
for Comment
DerryK: Beautifully simple. I'm wondering how you came up with the n//10 approximation. Is it a binary expan...
|
Jan. 16, 2023, 5:03 p.m. |
+ 1 |
for Comment
Phil15: Well I did use google to find the approximation, I went on stackoverflow. But I wanted to explain it...
|
Jan. 16, 2023, 5:03 p.m. |
+ 1 |
for Comment
mikaeldovbnia: I don't understand what are you doing here.
|