TSL interview question

Write a simple loop