28
marcopunteri
6 23 40
4228/ 4445
Marco Punteri
Last seen 4 days ago
Member for 3 years, 1 month, 24 days
Difficulty Advanced
Best reviews / Newest reviews
Party as a Named list-flpo
the construction is brilliant but i don't like the coupling, in this code Party has to know the internal implementation of Friend More
First: a little clumsy but works-hbczmxy
you say your solution is clumsy but it's roman numeration the clumsy one (and i'm italian xD). I think your solution is neat and more mathematical than mine. Just on line 50 and 54 you could use the += construct, but it's a peanut. More
First-Oleg_Salomatin
very compact, i like it. Expetially the fight func avoiding the swap between attacker and defender. More
Clear-EdinsonUwU
your rest_life method it would be perfect for an health property, in this way you are not tied to opponent attack More
classic-kdim 2 1
is "while ..." the same as "while True"? Never seen it before More
army battle-Alexey.K. 1
in the fight method of battle class is it necessary to duplicate the couple of return? Aren't enough the second ones? More
Second-bloodyrabbit
ok, yield from is like necromancy for me xD Out of joke, if i read such a code it's quite obvious to me, but i'm not able to write it from scratch More
First-liuq901
This is because lists are mutable and passed by reference, right? I like it, despite the classification (imho it's a creative solution, not clear) More
Convert to Str, delete extra symbols, split by ' ', int result.-Swarvenstein
wow, this is really creative! Never thought that str(array) could work in that way :) More
mathematically-PascalFirley 1
i always love to see my solution in just one line, i'm too verbous :) More
First-Sairaj
why don't you use just a single return statement? More
Fourth -ex1list
i like the math approach but your seems to be unnecessarily complicated, you coud achieve the same result using the // operator More
Ghostbusters-oduvan -1 1
why you had to write scary_number = 1 * number? More
HOME - "Sum Numbers"-jsg-inet 1 1
why do you pass the " " argument to split? More
Operator-oduvan
clever but not clear, talking about classification :) More
Partial-veky 1
i like the partial part, it's a way i always forget :) More
First-yoichi
I think this solution is really elegant, even if it's quite puzzling if you don't know how groupby works, expecially for the identity as default keyfunc value! More
len if isdigit-m.kurapov
it works, but i can't call it clear :) More
First-yotamorgad
IMO re is not so readable, but very powerful, and so i don't like so much the "half use" you do More
1
2