8
ljpGBL
6 20
258/ 345
Last seen 5 years ago
Member for 5 years, 8 months, 10 days
Difficulty Normal
Best reviews / Newest reviews
simple-panakour1 1 1
Very straightforward, how about considering the Set Object, it will make is more concise. More
Warriors-Vlad_Lopato 1
Maybe you can write the `True` after the `while` loop, to reduce one more loop. More
SetSearchWithDirtyHands-Kouri 1
It's much more concise than mine but too hard to read... More
The Hamming Distance-ljpGBL
I believe anyone who had seen the O'Reilly book can write these. More
First-aszychlinski
It seems a good solution but maybe too many loops? More
Done-nikita.dzhigir
Maybe treat the n1 and n2 as the string type and use the formatting method can concise the codes. More
max-count-bryukh
This is remarkable...I know that there must be some codes much better and more concise than my 20-line codes, but I didn't expect this level... More
one-liner-lezeroq 1
Isn't go wrong if the Elements is empty? If so, how does it run past? More
First-annie77312
So glad to see the code the same as mines!:D More
House Password-ljpGBL
Please judge slightly to a beginner... More
First-littlehell
I think there is no need to import the whole module string, it's ok to from string import ascii_lowercase if you only need it More
Second-Michael_Zilberman
I know better about the `%` operation since I met this solution More
colin_the_warriors-colinmcnicholl 1
What the counter there for? Is it for your own to see how many battles have been done? More
Find Sequence-ljpGBL
I know this is not efficient... More
First-Dirk
I don't understand. What if the sequence is in the secondary diagonal? Isn't these codes just test the main diagonal of the matrix? More
The Warriors-ljpGBL
It's a normal way to achieve the goal More
First-islavunin
Is there necessary to write the attribute(health and attack) inside the `__init__`? More
First-alexandrov.net
WOW Russain. So pity I can't understand the language, but the solution is concise. More
First-elena.dmal
simply len(set) function in 0 or 1 could simplify this selecting statement More
convert using indices of a full-alphabet string-emersonreiter
the alpha string also could be imported from string module from string import ascii_lowercase More
1
2