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.
i knew i could do this in java but i have never tried catching an error in python good one
Can you show your timings? I believe this should be rather fast for the
return True
case. Also, LBYL is arguably idomatic and 'normal' in PythonPlus, casting a string to a float is not doing any good here.
Exception handling takes longer than a normal solution.
How is this slow?
One of the slowest solutions!