Computer Science, asked by diya1374, 9 months ago

series programme to print3,6,9,12​

Answers

Answered by rr8814962
0

def printPattern (N):

i=0

for j in range(1,N+3):

print (i+3 if i % 2==0

else i+3,end=" ")

i=i+3

N=10

printPattern(N)

Attachments:
Similar questions