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.
For readability? Not really.
For effectiveness? Hell yes.
It's a known set of info, 10 set of numbers. For the task given there isn't a reason not to hardcode it in. Most of us just try make our code more maleable.
This is functional programming. It does the thing I want it to do.
I looked at this and thought "Wait a minute is this cheating?" and then I realized what you did here. It's fucking galaxy brained. Mine is 47 lines long jfc
It's not though? best practice would be to follow standards, PEP 8 clearly says 72 char lines max