I am doing a online course on python. I got an assginement from there. So I was trying to write a programm using numpy and matplotlib. I am new to python programming. The code I wrote is:
a = numpy.arange(3, 13.5, 0.7)
And it gives me error:
Traceback (most recent call last):
File "main.py", line 7, in <module>
File "main.py", line 4, in ThisFunction
TypeError: only size-1 arrays can be converted to Python scalars
Do anyone know why this error is happening, please help.