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 everything right except for the last sample test is_opposite("" , "") keeps giving a NONE SHOULD BE FALSE.
I faced the same issue why is there a not.
using round() function in python doesnt help
n is an integer I did convert it into an integer. I cant seem to find my problem.
Here is my code:
def f(n):
return sum(range(0,int(n)+1))
6 maybe in the string format
This comment is hidden because it contains spoiler information about the solution