bet365 interview question

Can you write a for loop