Here is a Python script:

for i in range(0, 5):
    print i