Looping in dynamo to write to text file

it works when i repalce" i "with any number…