[Solved] Using for-loop values to create a basic graph
[ad_1] x and y are single floats, not arrays as indicated by the output of your print statement. plt.plot() tries to draw lines between points, but since there is only one point, there can be no line. I would assume you want to somehow make x and y into arrays of values perhaps something like … Read more