So I just wanted to check if my answer is correct for this exercise. Any and all feed back is welcome and appreciated. Even a comment such as “nope thats wrong” would be nice, because at least i know that i have to go back to it. anyway;
Yes it’s fine. You could also try using a for loop as well, as that’s been introduced by this point in the book. There are lots of other ways you can do it, as well as other variations of this you can try (for example, can you make a Christmas tree shape instead? The way you would do it is almost the same as what you’ve got there, but you need to go 1, 3, 5,… instead, and you need spaces).