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.
Why not put three statements on three lines, as God intended us to do?
Like everywhere, you need to import it.
So
import numpy
orimport numpy as np
, whtever floats your boat.Because the description says you ARE given a list.
Pretty surprising to me that a lot of the top answers don't check for the list type - why is that?
This description could not be more poorly written.
Didn't take English for granted. The culprit's name might as well have been written in the original Klingon.
This comment is hidden because it contains spoiler information about the solution
No dictionaries for this guy!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I'm passing all 121 submit tests but at the end throwing:
-c:48: RuntimeWarning: invalid value encountered in arccos
If you are dividing by 2ab make sure you have 2.0ab because / is for float division
How does one access the (say, numpy) packages? Does numpy = numpy or np?
This comment is hidden because it contains spoiler information about the solution