Exersize 5 in swift

i need help in doing the swift exersize for lesson 5 in the swift tutorials
instead of getting
x
xx
xxx
xxxx
xxxxx
i got
x
x
x
x
x

Hi Neil,

Welcome to the code crew community.

Copy your code into a reply so we can see what you have done so far.

Format your code by placing 3 back-ticks (```) on the line immediately above your code and 3 back-ticks on the line after your code.