python print n numbers code example Example: python print n numbers inp = int(input()) for i in range(inp): print(i)