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 one is concise and well-understandable, respect!
This comment is hidden because it contains spoiler information about the solution
was gonna say the exact same thing. maybe cuz theres a tiny bit of algebra 1 in it? ... 8kyu for sure
The explanations I have seen suggest that for short lists sorting and slicing can be faster but sorted() starts to chug on big lists, so min() max() is better practice when you don't know how big the list is going to be.
That's what I did
.format() is older as it was introduced in python 2.6 while f-string is newer and from python 3.6
F-strings are generally more compact than .format() and easier to decipher but the biggest difference is in the ability for expressions within the f-string to be performed at runtime. This allows for things such as calling functions, creating classes, and math operations.
Additionally, f-strings are faster than .format()
What's the difference between .format() and a f-string?
This solution is stupid
nice
this is exactly like mine <3
.format()
converts it automaticallyit is steel int don't convert to str class
I tried this one before and it sent me straight to hell
Seemingly the solutions are not re-validated; probably due to the high number of them
I guess this doesn't work anymore, because the functions are now called minimum and maximum.
Loading more items...