Big thanks to the community for the help given so far, but I have hit another stumbling block.

I am trying to run a script that will draw a triangle and then repeat it a number of times as instructed by the input value each being bigger than the previous one, i.e if 4 is enter the first has sides 10, the second 20 and so on.

When it is restricted to a set number of values I can achieve it. But when I use a for loop it goes bonkers.

I am hoping the community can put me show me where I have gone wrong as there has to be a more elegant solution than what I have achieved.

```
from turtle import *
levels = int(input("how many triangles do you want? "))
for triangles in range(1, levels + 1):
    if countList == 1:
        goto(0,0)
        forward((levels*10)/2)
        left(120)
        forward(levels*10)
        left(120)
        forward(levels*10)
        left(120)
        forward((levels*10)/2)
     else:            
        forward((levels * 10) / 2)
        left(120)
        forward(levels * 10)
        left(120)
        forward(levels * 10)
        left(120)
        forward((levels * 10) / 2)
        right(60)
        forward(levels * 10)
        right(120)
        forward(levels * 10)
        right(120)
        forward(levels * 10)
        right(120)
        forward(levels * 10)
        right(120)
        forward((levels * 10)/2)

```

so any help would be great.