14
Apua
2 6 19
734/ 945
Last seen 2 years ago
Member for 11 years, 17 days
Difficulty Normal
Best reviews / Newest reviews
in 4 attempts-Apua 1
Below is the original code. Since 10 and 9 are relatively prime, N%10 and N%9 will be different for all N in 1~90. On the other hand, the remanders will be same where N in 1~10 and N in 91~100. def checkio(attempts): A = attempts if len(A)==1: return (10 More
just one liner-Apua 1
There is a shorter solution as below which is more clear I think :: checkio=lambda S:any(a.endswith(b)for a in S for b in S-{a}) More
Whitespace-Apua
Finally...it's really difficult that pasting Whitespace code into CheckIO editor...||||orz More
duplicated-Apua
The solution which might be the shortest is not created by me. More
shortest?-Apua
They are not special solutions....Q___Q||| More