12
shiracamus
2 10 21
631/ 745
しらかみゅ
Last seen 5 years ago
Member for 10 years, 2 months, 17 days
Difficulty Normal
Best reviews / Newest reviews
First-Tubis 10
A little shorter: checkio=lambda x:"www" in "".join('dw'[w.isalpha()] for w in x.split()) More
First-shiracamus 1
A little speed up to use set(). s=lambda m,n:[[m[i][i+z]for i in range(n)if 0<=i+zMore
4th-shiracamus
It's converted from my 2nd solution. http://www.checkio.org/mission/feed-pigeons/publications/shiracamus/python-3/second/ More
Second-shiracamus
Reformat: checkio=f=lambda d:min( d<10 and [d] or [x for i in range(2,10) if d%i<1 for x in [f(d//i)*10+i] if x>9] or [0]) More
Second-shiracamus
Reformat: checkio=f=lambda d:min( d<10 and [d] or [x for i in range(2,10) if d%i<1 for x in [f(d//i)*10+i] if x>9] or [0]) More
Second-shiracamus
I made ​​a speedy version with reference to the http://www.checkio.org/mission/numbered-triangles/publications/veky/python-3/savage/ . More
First-asuranceturix
I like this solution. I tried to shorten a little. def checkio(data): return 9 < len(data) and 2 < len({1*i.islower() or 2*i.isupper() or 3*i.isdigit() or 4 for i in data} & {1, 2, 3}) More
Second-ciel
A little shorter: rec=lambda n: n and rec(n//2)+(n&1) checkio=lambda n,m: rec(n^m) More