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 copied a list in the beginning of the function but it still says I mutated the initial list
Hint: you cannot copy a list by typing list2 = list1, because list2 will only be a reference to list1
Took me a while to figure it out, but a very valuable lesson
same thing i will try and answer you
The boss name is passed as an argument of your function.
guys I didn't get the boss here, it makes me confuse! what is the value for the boss?
I am not too good at math and in this challenge I just asked chatgpt to give me the formula and then put the formula in function! :|
Clone the list, before using those methods.
it gives mutation error, how to resolve that in python? I have used both remove and pop methods...
Because no one chose to translate the kata to Python. You could do it yourself if you're able to solve it in JS first, but I wouldn't really recommend it. Weak kata idea and added "limitations" make it a poor kata IMO.
why not python here?