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.
Your welcome
Thank you for your case!
You can print the input values yourself: put
print(customers, n)
at the beginning of your function.How many breaks would you need if there was no chocolate?
thanks a lot
It normally means that you forgot to actually write
return
in Python. Common mistake if you come from Ruby, for example.There should be test added in this kata such as : [3,7,7,7,7,7,15]
which will help coders to think more
Python
which language?
which language?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I am afraid your function is returning
450010.0
because the tests never return float numbers.Loading more items...