1.) Write a python program using a function to generate the 1st N even number.
Answers
Answered by
5
Answer:
n=int(input())
def evennumber(n):
if n>=2:
print(n)
return evennumber(n-2)
print(evennumber(n*2))
Similar questions