numpy is not imported

Back to General discussions forum

MULTIVAC     2020-08-31 15:20:10
User avatar

Hi, I am solving te 77 problem, Point to Segment Distance however i cant import numpy library. ;)

Rodion (admin)     2020-08-31 22:24:03
User avatar

Hi Friend!

If you mean running code in sandbox, I'm sure it won't load any 3-rd party libraries (even if it is not about safety, how can it decide which version of library you want etc - this is usually managed by pip outside of python).

It's ok to post solutions using numpy or scipy etc, but regretfully you'll need to run them on your local machine and copy-paste result...

mooninvader     2020-09-06 19:24:50

for this problem only sqrt function from math is required numy is too much for this problem

Please login and solve 5 problems to be able to post at forum