22
hrvoje
9 25 38
2826/ 2945
Last seen 2 years ago
Member for 10 years, 1 month, 12 days
Difficulty Normal
Trying to make everything a one-liner and sometimes failing miserably. :)

Best reviews / Newest reviews
wo trig-Sim0000 1
I love your solutions, keep up the great work! More
Convex Skull-hrvoje 1
I learned about the algorithm here... check it out, it's easier to understand than the strict and formal math textbooks: https://www.youtube.com/watch?v=QYrpHE8iDGg More
First-m600 1
Might be easier to write if a+b+c <= 2*max...? You also don't really need the else. Niiiice work! :) More
First-aasu
It might be more "*pythonic*" to import string and then use string.ascii_lowercase, but I like this solution - simple and interesting. Well done! :) More
First-kest_iv 1 1
This is creative and clever, well done! :) More
First-RaMon 1
This is a clever way, well done! **all** is also very handy and could come useful, for example: return all(chr(i) in text.lower() for i in range(97, 123)) More
First-m600 1
Cool! You could also simply return the first==second. If both sides compare equal, it will return true. :-) More
First-pohmelie
Love the parity calculation. Have some thumbs! :) More
First-Sim0000 1 1
Line 23 is very creative, awesome! Have some thumbs :) More
ZenD'oh-veky 1
Waaaaaaaaat? What did you do on line 5? :) More
Short-StefanPochmann
This is very elegant, especially the odd ^=1 followed by a multiplication. Megalike! :) More
School-veky 1 1
Very cool use of string.join('()'). It does remind of a female body part, though. Naughty Veky. :))) More
Comprehend-veky 1
This is *freakishly* awesome and clever, I struggled with operators and generators, you just used sets ... boy, do I have a lot to learn. :-P More
injectivity-veky 1
Ok, this is seriously, seriously awesome and clever! 5 thumbs falls short. More
First-divided.hr
You don't need the stuff after the 1, simply count('1') will work just fine. :) More
First - Number Base-divided.hr
That's nice and clean. Good practice is not catching all exceptions, just the one you want to handle, otherwise programs fail silently while appearing to work. In this case, try **except ValueError:** More
First - X/O Referee-divided.hr
You got it working, now try writing it again without the boring repetitions. :) More
First - Median-divided.hr
Not bad, clear and readable! :) More
First-m600
Very nice, clear and effective! :) Here are few tips: You don't need the max(max(pyramid)), the maximum is in the last sublist, so a simple **max(pyramid[-1])** is enough. Instead of list comprehension in the 2nd line, you could have used **map(list, pyramid)**. *for i in range(len(something))* More
Simple-StefanPochmann 1 1
I love the max(cells, key=your function... approach. My respect, one of the best coders I've seen on the site. More
1
2 3