Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Because of the
sorted
bit,a == c
meansa == b == c
, so the equilateral condition can bea == c
and the isosceles condition can bea == b or b == c
.Nice. You should however choose another variable for 'sum' - you are shadowing Python's "sum".
but is fast lol
This comment is hidden because it contains spoiler information about the solution
You can use
a == b == c
istead ofa == b and b == c
this is still the cleanest solution, 4 years later
so smart~
This comment is hidden because it contains spoiler information about the solution
hahaha you are right but this is what codewars is about to use your brain and give your best
You know one is free to do whatever he fancies?
We don't do that here, screen space is expensive (that was sarcasm, of course).
You know you don't always have to write a one liner.
You can write the same code spaced out into 3 or 4 lines.
Doesn't hurt anyone, rather reduces confusion.
Do you know what is the madnes?
hahahaha perfect
Lmao wtf
Loading more items...