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.
Hint: Are you using float values in your formulae ?
Instead of writing 1 or 2 for constants, try using 1.0 or 2.0 (python infers the value as float with no need to do float(x); I do not know which language you are using)
Hi,
The instructions say:
If three sides cannot form triangle, or one angle is 180° (which turns triangle into segment) - function should return 0.
On submitting, one of my results is
180
0
0
Expected: 3, instead got: 0
And this is showing an error.
Am I missing something here- it seems so after going through a few comments here?
Hi,
I am getting the similar result. And hence stuck here.
How did you resolve this?