10.10. Exercises: Functions G Isosceles Triangle

10.10. Exercises
Hi, I approached G in a slightly different way to create an Isosceles triangle. But then I tried out Launchcode’s solve and it prints weird on my console. Can anyone see where I went wrong? My code is above and Launchcode’s below. Mine actually prints a pyramid but the Launchcode one is skewed. I have tried searching for a reason why it won’t print but can’t see an error on my end. I think Launchcode’s solve is more succinct so I’d love to be able to use it when creating the pyramid.

A friend let me know it’s probably due to my makeSpaceLine function being written differently. Just a fyi! Off to rework that!

1 Like