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.
it is solution from chat gpt
what about now
The spoiler flag XD
You cam make a method static by the @staticmethod decorator.
I think it's clever so I vote clever :D
Since I don't really have a proper reference for what 'best practice' would look like.
Clever means for me that it is an approach I couldn't even conceive of,
or that combines aspects of programming in a way that is new to me.
The library is very nice but it's useless if you don't understand the exercise. How do you calculate the mean if you don't include yourself? Are you a student from another university?
Thanks for teaching me new library
This is gonna be hell!!! (For the mods, hopefully this method gets banned from backend (not sure if applicaable ) )
And also spoiler flag please ~~ XD
I just looked in
__future__
and apparently that will be solved with Python 3.12 ;)Even Python 3.11 won't help for stack overflow :)
This comment is hidden because it contains spoiler information about the solution
In that case, it should be voted best practice IMO. I came up with the same solution too.
He brought out the big guns!
Bro really said "import statistics"
i-i mean i guess its better for performance
Someday I will remember to do this!
Loading more items...