bet365 Interview Question

Can you write a for loop