bet365 Interview Question

How would you iterate through a variable