NameError: name 'array' is not defined code example
Example 1: 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.
Example 2: NameError: name 'array' is not defined
import numpy as np
a = np.array([1,8,3])