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.
There are floats among the given numbers; thus, using
eval
andstr
to multiply the numbers, like you did, loses precision due to rounding.Try to find another way of multiplying the numbers that doesn't involve strings.
Do note that this is only a problem due to floats, and if you were given only integers, there would be no problem with your approach, except for suboptimal performance, of course.
14.3259057835044 should equal 14.325905783504401
7.733044285559698 should equal 7.7330442855597
all other tests passed (python)