Answers for "NameError: name 'array' is not defined"

0

NameError: name 'array' is not defined

import numpy as np

a = np.array([1,8,3])
Posted by: Guest on April-26-2020
0

NameError: name 'array' is not defined

Do yo have a file called numpy.py in your working directory?
If yes, rename it.

For your task in https://python-forum.io/Thread-Question-1-Count-symbols
you do not need numpy.
Posted by: Guest on April-26-2020

Code answers related to "NameError: name 'array' is not defined"

Browse Popular Code Answers by Language