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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It was really helpful
I have tests
PEP8 is just a style guide to make it easier to read.
It's not worth much by itself, it's just a way to shorten the code as much as possible. Your solution is much more readable (this code is not suitable for production, because parameters are not listed clearly, and spacing is not accounted of, making it hard to edit.)
def count_legs(cows, sheep, chicks): return (cows+sheep)4+chicks2
this is PEP8 compatible, I don't know if thats worth anything but leave a comment and please tell me.
Also nice code to make it shorter!