16
kaktycuha
3 7 19
1358/ 1445
Vladimir Levochkin
Last seen 1 year ago
Member for 2 years, 7 months, 10 days
Difficulty Advanced
Best reviews / Newest reviews
First-tsapvit1992
from sympy.geometry import * def similar_triangles(coords_1: Coords, coords_2: Coords) -> bool: return Triangle(coords_1[0], coords_1[1], coords_1[2]).is_similar(Triangle(coords_2[0], coords_2[1], coords_2[2])) More
First-artemrudenko
Hello, I studied your solution, it is quite interesting. My solution is longer. More
First-m1tvbtc1m
Well done, you have put the solution in one line! More
Second-dmitrytchigileichik
Think more, you can solve in one line. Good luck! More
First-Bigcirclecircle
Not a bad solution, but it could be better and shorter. More
Breadth-first search-Bilou06
Not a bad solution, you only use WHILE once More
First-liuq901
You can get by with one function More
First-JulianNicholls
Your solution will be elegant, mine is much longer. Congratulations! More
First-xavier-b
It seems more elegant to me to add a method "hit" def hit(self, other): other.health -= self.attack More