Do while loops get buggy in python script?

So I used an online python compiler and got this result:

However when I run it in dynamo, I only get the first point, as shown below:

Here’s my python script for reference:

I know the code works because I ran it on an online python compiler using the same x and y numbers in dynamo. Any thoughts?

You’re only outputting one of your lists

1 Like