learn list comprehensions and try to implement them in your code!
Love the compactness I wish I could code that compact!
Here you go: https://docs.python.org/3/library/timeit.html
How do you measure the exact execution time time on your computer. is there any tools for performance ? thanks
Why put '0' as 'this'? I didn't get it.
This comment is hidden because it contains spoiler information about the solution
You don't need to import a library for this question.
We can do it in one pass through the array.
is_square(9999999999999999) returns True on Python 3.7.5
var should be avoided in ES6. Better use const, as it is safer.
Nice, but in this example the function sort() and join() are superfluous, since only the length is used.
well done, never thought about this