57
Awesome Team
Vedran Čačić
https://web.math.hr/~veky
Last seen 20 minutes ago
Member for 11 years, 6 months, 8 days
Difficulty Advanced
We shall not cease from exploration, and the end of all our exploring will be to arrive where we started and know the place for the first time.
Nice variable names. Unfortunately, not much else nice can be said about the above code.
More
Meh. In this case, simple is not better than [complex](https://py.checkio.org/mission/humpty-dumpty/publications/veky/python-3/complex-battery-staple/?ordering=most_voted&filtering=all). :-P
More
defaultdict(float) would be a nice thing to use for jars.
But really, there is a closed formula. Go smoke a peace pipe with algebra. :-D
More
A bit more Pythonic than the previous one, but still not very Pythonic.
Line 2 is unnecessary. How many same arguments you'll have? And each of them will clear that inner loop in 2 steps.
Line 3 is simply wrong. gcd(2, -4) is 4. And gcd(0, 5) is 5. "greatest" is by divisibility, not by standard or
More
Why do you keep thinking your solutions are Pythonic when they _obviously_ aren't? Superfluous comments, duplicated code, and that mortal sin of Python programming, "except: pass".
More
Your matrices obviously aren't. The good question is, why? :-) And more importantly, why do you think this is clear? :-P
More
Aaargh!
list(map(lambda S: whatever, eSses)) ~~~> [whatever for S in eSses]
More and more I think that LISP has destroyed even more programmers than BASIC. :-P
More
You have obviously seen that the origin is irrelevant - after all, you start from 0 for ranks, and from 1 for files. It is much easier if you put origin on (97, 48) - do you know why? ;-)
And why lines 9~10? Special cases are not special enough. ;-)
More
If only it were a generator... :-P
Just drop the [] and it will be. :-)
And yeah... `if not number % dict(Fizz=3, Buzz=5)[word]` is a bit nicer. ;-)
More
Inspired by @witmolif's [solution](https://py.checkio.org/mission/funny-adding/publications/witmolif/python-3/hi-how-are-you-doing/).
More
Hm, if you tried to make a chessboard, you didn't quite manage to do it (do you see why?).
See [my solution](https://py.checkio.org/mission/funny-adding/publications/veky/python-3/third/) for a proper chessboard. :-)
More
Wow, fractran! You even use for-else properly. :-D If only you were tidier with spaces, I'd give you five pluses. :-)
More