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.
The code is practically inefficient, what if the array is very large with only one number?, will you reserve all that space just for one number?
This comment is hidden because it contains spoiler information about the solution
This function is just a fluke. It is not valid and I don't know how to delete or hide it.
This code was written before something called loops was invented ;(:p)
This comment is hidden because it contains spoiler information about the solution
Can someone explain to me how this program works
How can this code be a best practice? It is at least twice as slow as the mathematical method of calculating the square root of a number
Yes, you are right. I am still adapting to the Python language and trying to learn these little tricks that are not usually mentioned in the lessons.
And thank you for your observation
Does anyone understand why the function gives 69:60 and yet it is considered correct for time = 69.99373876?
Well I get it, true is equal to one, and false is equal to zero and this is in order to reach the solution array ,Thanks I learned something new
Can someone explain this last line, I still can't understand it
This is the best solution I've seen today, very creative
This comment is hidden because it contains spoiler information about the solution
It's the same as my solution but mine is shorter
For anyone looking for a simple and easy to understand one line solution, look at my solution
Loading more items...