## N Even numbers in python

### Description

```Python program to get input n and print n even numbers.
Input:
7
Output:
2 4 6 8 10 12 14```

### Solution

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

```

### Explanation

```while(i

Author - Ramesh P Natarajan
Learner, Professor, Technology Trainer, Software Developer and Content Marketer, very much passionate in the field of Software Application Development, Machine Learning and Search Engine Optimization.
Write to: [email protected]

Interesting Pattern Programs: for more PatternsInput:
5
Output:
*
**
***
****
*****
****
***
**
*SolutionInput:
5
Output:
*
***
*****
*******
*********
*******
*****
***
*SolutionInput:
5
Output:
*        *
**      **
***    ***
****  ****
**********SolutionInput:
5
Output:
*       *
**     **
***   ***
**** ****
*********SolutionInput:
5
Output:
*       *
**     **
***   ***
**** ****
*********
**** ****
***   ***
**     **
*       *SolutionInput:
5
Output:
*********
*******
*****
***
*
***
*****
*******
*********Solution

```