Question about concatenation using for loops

thank you for the help!

I’m using Julia 1.4.1.