June 5, 2021, 1:16 a.m. |
+ 1 |
for Comment
Vitaly_Titkov: the best!
|
June 5, 2021, 1:15 a.m. |
+ 1 |
for Comment
leggewie: Great work. You can apply the slicing straight to sorted(...)[:limit] to make it a one-liner.
|
May 10, 2021, 6:09 p.m. |
+ 1 |
for Comment
helebed: Good
|
May 1, 2021, 5:15 p.m. |
+ 1 |
for Comment
m--m: math.ceil(len(items)/2) - can be replaced with: len(items) // 2 + len(items) % 2 Thank you for under...
|
April 20, 2021, 5:33 p.m. |
+ 1 |
for Comment
veky: Many. :-) EAFP. Read [this](http://www.checkio.org/mission/number-radix/publications/tdietert/python...
|
April 20, 2021, 5:31 p.m. |
+ 1 |
for Comment
domokdavid: nice solution
|
April 20, 2021, 5:31 p.m. |
+ 1 |
for Comment
mohamedsleymi2016: thank you It starts with python 3.8
|
April 19, 2021, 6:05 p.m. |
+ 3 |
for
First-mohamedsleymi2016
|
April 19, 2021, 5:54 p.m. |
+ 1 |
for Comment
Bot57: Good :)
|
April 17, 2021, 6:47 p.m. |
+ 1 |
for
simplest-charlotte0
|
April 17, 2021, 6:47 p.m. |
+ 1 |
for
First-shinobi_01
|
April 17, 2021, 6:47 p.m. |
+ 1 |
for
First-d.s.sidorenkov
|
April 17, 2021, 6:45 p.m. |
+ 5 |
for
First-mergen00fub
|
April 17, 2021, 6:44 p.m. |
+ 5 |
for
First-mohamedsleymi2016
|
April 17, 2021, 6:44 p.m. |
+ 4 |
for
First-oxbeydilli
|
April 17, 2021, 6:44 p.m. |
+ 3 |
for
First-parapet128
|
April 4, 2021, 6:03 p.m. |
+ 5 |
for
re.match(pattern, string)-David_Jones
|
April 4, 2021, 2:31 p.m. |
+ 5 |
for
Hinted-veky
|
April 4, 2021, 2:30 p.m. |
+ 1 |
for Comment
veky: Of course it returns a string. I don't understand "catch" - what else could it return? If it returne...
|
April 4, 2021, 2:26 p.m. |
+ 1 |
for Comment
veky: > OK, I'm beginning to understand how you see a lambda. Oh, finally. :-D > def has a name: so doe...
|
April 4, 2021, 2:14 p.m. |
+ 1 |
for Comment
veky: Yes. To defend my view: def makes a full-fledged Python function, that _does_ something -- possibly ...
|
April 4, 2021, 2:13 p.m. |
+ 4 |
for
punctuation as junk-veky
|
April 3, 2021, 9:14 p.m. |
+ 1 |
for Comment
Sim0000: Surprisingly, [][] matches ] or [. You can confirm this by below snippet. >>> from fnmatch import fn...
|
April 3, 2021, 9:14 p.m. |
+ 1 |
for Post
How to parse Unix Match examples?
|
April 3, 2021, 8:46 p.m. |
+ 5 |
for
from itertools import not compress-veky
|
April 3, 2021, 8:43 p.m. |
+ 3 |
for
One-liner-suic
|
April 3, 2021, 8:39 p.m. |
+ 4 |
for
2-liner: cleanest-przemyslaw.daniel
|
April 3, 2021, 8:38 p.m. |
+ 5 |
for
Connecting the dots-veky
|
April 3, 2021, 6:10 p.m. |
+ 3 |
for
The Warriors with @property-serp90
|
April 3, 2021, 6:09 p.m. |
+ 1 |
for Comment
serp90: С уважением, Сергей Пеганов. peganov_sa@mail.ru
|
April 3, 2021, 4:17 p.m. |
+ 1 |
for Comment
veky: Thank you very much (and for +es on the other comments;). Just for the record, my intention is not r...
|
April 3, 2021, 4:14 p.m. |
+ 1 |
for Comment
veky: You're making yourself jump through hoops without any reason. I hate when people deliberately tie th...
|
April 3, 2021, 4:04 p.m. |
+ 3 |
for
First-michei198520
|
April 3, 2021, 4:04 p.m. |
+ 1 |
for
First-Komet_kazi
|
April 3, 2021, 4:04 p.m. |
+ 2 |
for
First-Derelict
|
March 31, 2021, 6 p.m. |
+ 5 |
for
iter(), next() and some logic-A5537
|
March 31, 2021, 5:57 p.m. |
+ 4 |
for
BOOM LOOK AT THAT-fishsouprecipe
|
March 31, 2021, 5:53 p.m. |
+ 4 |
for
Regex short-nickie
|
March 31, 2021, 5:52 p.m. |
+ 5 |
for
vefan-veky
|
March 31, 2021, 5:47 p.m. |
+ 4 |
for
vek-StefanPochmann
|
March 31, 2021, 5:43 p.m. |
+ 1 |
for Comment
veky: Yup. It's practically made for it. Find a pattern and substitute.
|
March 31, 2021, 5:42 p.m. |
+ 1 |
for Comment
veky: > Where do I go to understand what the hell is happening here? You can always try asking me. Contrar...
|
March 31, 2021, 8:50 a.m. |
+ 5 |
for
Check each floor-V.Shkaberda
|
March 31, 2021, 8:48 a.m. |
+ 5 |
for
1 line-kdim
|
March 29, 2021, 10:11 p.m. |
+ 1 |
for Comment
BlindB: clear solution
|
March 27, 2021, 7:22 p.m. |
+ 2 |
for
datetime.min-veky
|
March 26, 2021, 4:13 a.m. |
+ 4 |
for
1-liner: findall-przemyslaw.daniel
|
March 26, 2021, 4:11 a.m. |
+ 4 |
for
First-Calen
|
March 26, 2021, 4:10 a.m. |
+ 4 |
for
re.findall()-nickgryg
|
March 26, 2021, 4:10 a.m. |
+ 3 |
for
regex-krzysztofrrr
|
March 25, 2021, 8:52 p.m. |
+ 2 |
for
Textwrap-Pouf
|
March 25, 2021, 8:28 p.m. |
+ 3 |
for
second-kalauroma7997
|
March 25, 2021, 4:55 a.m. |
+ 4 |
for
Indexcept-veky
|
March 25, 2021, 4:43 a.m. |
+ 3 |
for
First-kalauroma7997
|
March 23, 2021, 5:52 p.m. |
+ 1 |
for Comment
Kath29: Good working solution! I would do import at the beginning of the file (I think it's just a conventio...
|
March 22, 2021, 1:01 a.m. |
+ 4 |
for
Flatten a List - greatly improved-ddavidse
|
March 22, 2021, 1 a.m. |
+ 2 |
for
First-exceptio
|
March 21, 2021, 3:01 p.m. |
+ 3 |
for
First-antonina.melnik99
|
March 21, 2021, 1:46 p.m. |
+ 3 |
for
First-suic
|
March 21, 2021, 1:46 p.m. |
+ 3 |
for
Basic-rockwellshabani
|
March 21, 2021, 1:46 p.m. |
+ 2 |
for
First-Sebdidier
|
March 19, 2021, 6:58 p.m. |
+ 2 |
for
First-MateuszJanusz
|
March 19, 2021, 6:58 p.m. |
+ 1 |
for
FirstWord-vishalnayyar
|
March 19, 2021, 6:57 p.m. |
+ 2 |
for
re.search-kdim
|
March 18, 2021, 7:34 a.m. |
+ 3 |
for
31-liner: What does the cow say? Nothing-przemyslaw.daniel
|
March 15, 2021, 11:20 p.m. |
+ 1 |
for
First-nikolaylitvinchuk6
|
March 15, 2021, 10:23 p.m. |
+ 1 |
for
End zeros-faccanoni
|
March 15, 2021, 10:22 p.m. |
+ 1 |
for
How many zeros are at the end?-SophiaZHJ
|
March 15, 2021, 6:04 p.m. |
+ 1 |
for
Could do in linear time, who cares?-amandel
|
March 14, 2021, 11:17 p.m. |
+ 1 |
for
Second-eugene100372
|
March 14, 2021, 11:17 p.m. |
+ 1 |
for
Life is Short!-PHANTOM0308
|
March 14, 2021, 11:17 p.m. |
+ 1 |
for
sum(items) * 2 > len(items)-Lemmi
|
March 14, 2021, 8:18 p.m. |
+ 1 |
for
First - Don't iterate-carel.anthonissen
|
March 14, 2021, 12:27 p.m. |
+ 1 |
for
Second-tom-tom_f993b3abc4814d4cb5476e
|
March 14, 2021, 12:25 p.m. |
+ 1 |
for
it is simple-sergeyklimov-creator
|
March 14, 2021, 12:24 p.m. |
+ 1 |
for
An operator by any other name...-veky
|
March 13, 2021, 7:25 p.m. |
+ 2 |
for
list and set-Yrix90
|
March 6, 2021, 7:27 p.m. |
+ 1 |
for
First-loyso
|
March 5, 2021, 1:38 a.m. |
+ 1 |
for
Solution by functional programming-brianchiang-tw
|