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 got it - thanks :)
I tested the code - I see that it is working. As I understand, range returns a sequence of numbers, so in the case a = 3 and b = 3 this function should give you the sequence 3 to 4 (min(a,b) = 3 and max(a,b) + 1 = 4) - so sum would be 7, not 3.
Can someone explain, why this is also working for the case, when a and b are the same? I see that the code is working, but I don't get it.
Python Issue: The Attempt does not work although my Test was successfull.
I had to add the "hello world!" to the function in the test - is there something missing when executing the Attempt?