Computer Science, asked by sambitaojha78, 11 months ago

write a program to display the following pattern
1 3 5 7 9
3 5 7 9 1
5 7 9 1 3
7 9 1 3 5
9 1 3 5 7

Answers

Answered by kadianchirag0
0

Answer:

a=1

b=2

c=3

d=4

e=5

f=6

g=7

h=8

i=9

print a,c,e,g,i

print c,e,g,i,a

print e,g,i,a,c

print g,i,a,c,e

print i,a,c,e,g

Similar questions