N ODD numbers in python

Description

Python program to get input n and print n odd numbers.
Input:
7
Output:
1 3 5 7 9 11 13

Solution

n=int(input("Enter n value:"))
i,j=0,1
while(i<n):
    print(j,end=" ")
    j=j+2
    i=i+1

Explanation

while(i