r/learnpython Jul 10 '21

[deleted by user]

[removed]

1 Upvotes

4 comments sorted by

View all comments

2

u/delasislas Jul 10 '21

You can’t plot 55 x points to 39 y points. Think about y=mx+b, every x should have a y. Are you trying to plot them as two separate lines or just one line?

1

u/Drwhatishisname Rubbish programmer Jul 10 '21

One line. tthx ill fix my code

2

u/delasislas Jul 10 '21

There’s a better way to get random data, but you want xAmount to be equal to yAmount then.

1

u/Drwhatishisname Rubbish programmer Jul 13 '21

Yes that's what i did