Pergunta de entrevista da empresa bet365

How would you iterate through a variable