Try This
for i in range(5): if i < 100 : print i
Run