Loop inside another loop

please format code with </> button * homework policy * asking questions

04

I was able to create the tree in the image but the code consists of two loops one for the trunk and one and branches, and I could not combine them together. I would like to get tips.
thank you

1 Like

Please post your code so that we have an idea of what you need help with

I don’t have this option to add afile here, I don’t know why!

Instead of posting the code as a file, you would click the format button (next to the quotation mark button) and then copy/paste your code into the designated space.

1 Like