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.
My solution is so shady lol but cool kata. Learned how to replace from the back.
Really bad description imo. Not sure why no one fixed it in so long.
took me a bit of time but easy challange.
I forgot the formula for polynomial multiplication and thought you only have to multiply numbers with same powers D:
Done
Unfortunately can't. I don't have the permissions.
ah, thanks @Chronos79. Unfortunately search didn't turn up this one when I was looking for duplicates. Will close this one.
@mednoob While the difference in both of these is just one character lol, it is a pretty important thing to learn if someone is just starting python.
Ah, while that does look similar and answers may be very similar as well, the number of arguments passed is different. The kata you mentioned is only taking one array of multiple variables but this kata is taking multiple variables.
In python for example, the one you mentioned is function([a,b,c]) while this one is function(a,b,c)
Fixed. Let me know if I should make any other changes.
The sum of all given numbers. I'll improve the description to make it easy to understand.
The purpose of this task is to teach how to handle optional arguments rather that calculating the sum. Calculating sum is trivial but handling a function to have random number of arguments is the actual task.
Could you please link the kata you mentioned. I'll delete this one if it's similar.
It took me 41 lines haha. Great solution