Oct. 20, 2023, 10:03 a.m. |
+ 1 |
for Comment
jullios1104: Difficult to read, but interesting how lambda, reduce, map functions are used in one expression
|
Jan. 14, 2023, 12:47 p.m. |
+ 1 |
for Comment
dan_rue: Yeah, thats the good stuff! I would give you points for it, but sadly that doesn't work in 'random s...
|
May 28, 2022, 9:23 a.m. |
+ 1 |
for Comment
vvm70: maybe it would be simpler if you use a dict: **{'(': ')', ...}** or **str.replace()**
|
March 13, 2022, 1:11 p.m. |
+ 1 |
for Comment
kudinov.feodor: I do not really like while True, since you need to look for break condition inside loop You could us...
|
Nov. 18, 2021, 8:39 p.m. |
+ 1 |
for Comment
Hunteena: Nice code! You could use filter(None, items) instead of [item for item in items if item != 0]
|
Oct. 4, 2021, 2:10 p.m. |
+ 1 |
for Comment
byrus: Since how_deep is just a wrapper for recursive_deep, you can use default arguments instead ``` def h...
|
Aug. 29, 2021, 9:07 a.m. |
+ 1 |
for Comment
rougesteady: Nice work with the Binomial coefficient.
|
Aug. 23, 2021, 2:45 p.m. |
+ 1 |
for Comment
jsg-inet: Very interesting "for" loop! It avoid a special treatment for the first pair gdc calculation! (like ...
|
Aug. 16, 2021, 5:26 p.m. |
+ 1 |
for Comment
_Chico__5d82cee4f5234e78a5c65e: Next time if the test(asserts) a very long... please delete them :D Otherwise: Good solution!
|
Aug. 9, 2021, 2:32 p.m. |
+ 1 |
for Comment
papier_mache: Note that passing `*a` as a function argument passes the entries of `a` as multiple arguments. That ...
|
June 8, 2021, 10:57 a.m. |
+ 1 |
for Comment
veky: Yes. You're just missing a bit of math, and a thorough knowledge of the standard library. :-)
|
Aug. 15, 2016, 8:16 p.m. |
+ 1 |
for Comment
Blastus: Good job on finding out what the telephone charges were! Your code would be easier to understand if ...
|
Aug. 7, 2016, 9:26 a.m. |
+ 1 |
for Comment
han97: better use deque of collections module, cause its faster.
|