15
ljy95135
11 20
1019/ 1195
Last seen 7 years ago
Member for 8 years, 1 month, 16 days
Difficulty Normal
Best reviews / Newest reviews
First-Amachua 2
if language == "中國": return "我愛Python的 !" we use '我愛Python!' instead of using '的' as a end. More
Digits-PositronicLlama 2
if number > 1: return 0 nice idea! More
First-Sim0000 1
simple is good. a lambda function solves all. More
First-canassa 1
zip(*matrix), # Vertical Nice way! I learn a lot! More
combination-Sim0000 1
Amazing! It's the elegant code I want to find! More
First-Sim0000 1
if t & ab: # check t include a, b s |= t setlist.remove(t) wow,Learn it. It can omit one loop for me. More
Hinted-veky 1 1
lambda constructs a function and give to checkio, it's quite concise. More
First-gyahun_dash 1
return {'-'.join(p): [getattr(self, d) for d in p] for p in pairs} cool. More
branch if box-DiZ 1 1
Great, it so succinct using heapq, getting loads of ideas to read it. It seems that headpop get the smallest item, and when it pops a path to the end, it‘s the result, can you explain more about why? Thank you! More
Stack-veky 1 1
if c in brackets: It's concise than use multiple if, nice idea! More
The Key-bryukh 1 1
I use a key=lambda x:abs(x) now I find I am quite wrong... Good answer! More
First-Sim0000 1 1
This solution using lambda is Great! More
First-Sim0000 1
Yes, sum, it's time to use it instead of for and count. More
Assault of batteries-veky 1 1
eye-opening. Seems that as long as knew a module or method exists before coding can save lots of time.(like ipaddress and bit_length) BTW, how do i know IPveAddress is sortable and can be converted to type int, try it at command line? More
for else-veky 1 1
I like it! Every time I see the answer on the top, it shocks me again for how short it can be. More
First-ljy95135
May be easiest 2 points to get :) BTW, why REVIEWED is always not lighted? More
First-ljy95135 1
I think it's clear but seems has lots of ways to optimize... Is there anyway to avoid the last for-loop? More
Without datetime-ciel
Great, it's also concise enough, but could you give some explanation to help me to understand? It's hard for me to know how to determine the weekday by zeller. Thank you. More
First...-k_spamowe
>>> "{0:08b}".format(int('0')) '00000000' >>> "{0:08b}".format(int('255')) '11111111' wow, now i know why to learn format. Thx More
First-Dirk
great! I forgot in python '==' can be used in chain...Still a long way to go. More
1
2 3