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 wanted to demonstrate how many different ways this particular task could be solved, I suppose there are still more than what I found...
Also, I learn from playing with code and experimenting in this way. For example, in this case I learned about
ast
andliteral_eval
.Why the random choice of 3 methods performing globally the same task (although
eval
is not recommended as usual)?best for me hahah
u forgot the return
looks nice tho
This code won't work.
dudeee whaat?? how many lines of code is tht bruuh just use sum() method