尝试输入一组数据的错误时出现语法错误

时间:2016-10-10 17:07:28

标签: python-3.x jupyter-notebook

我尝试使用Jupyter笔记本创建图表,但是当我输入数据集错误时出现#34;语法错误"似乎是指错误一词,对问题的任何想法?

 measured_time2 = q.MeasurementArray(
data = [0,0.2,1.0,2.2,4.0,6.2,9.0,12.2,16.0,20.2,25]
error = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1])

File "<ipython-input-36-96c22be70112>", line 8
error = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1])
    ^
SyntaxError: invalid syntax

0 个答案:

没有答案