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.
wow! wasn't gonna cheat here.
Just curious in understanding what you mentioned here. Most of the stuff is going off my head, as I'm new to python :)
What exactly is this code doing?
This comment is hidden because it contains spoiler information about the solution
this will throw TypeError if values other than int, float are passed
not point of checking the range of numbers if the type is coming invalid.
alternatively - you can use isinstance
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Also, why would you 'return 1' if either of a,b is 0 ?
or probably @qavaxb is just making sure that only int, float, complex numbers get multiplied and not others, althought the question doesn't states so.