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.
I'm having an issue with results. When I print the result it is the same as output, but in some test cases it tells me the returned value is different from the print and the result...any idea why?
#printed values [5.0, 5.0] #same variable returned [0, 10] # expected output should equal [5, 5
PS: ok, can someone explain why an empty [] after adding floats, prints as floats but always returns as int?
This comment is hidden because it contains spoiler information about the solution
all tests and attempts pass except:
12321
I can't see the difference, including len is same. Any special char or something?
Edited: I was checking the wrong variables for type, and it was giving me same type variables. They were not, so fixed it.
I can't find a way for the code to stop when it reaches 1 or 1.0.
it just keeps going no matter what comparation or round I do... any suggestion?
passing all attempts execpt one:
9
1500
22.5
132.97 should equal 133.2
Jeeez thank you!!!!
In my case I had zero division and a test with a boolean that was passing as integer failing...
Me too. Maybe it's just a wrong explaining of the excercise...
Agree
This comment is hidden because it contains spoiler information about the solution
Perfect solution
Any feedback on this? I was surprised with how many one line answers there was. I really made it harder than needed...