for i in range(1,n,1) code example Example: for i in range python #coding: utf-8 for item in range(10): print(item)