Computer Science, asked by hanzalas862, 4 months ago

Write a program using for loop that generates the following output:

1 10 2 9 3 8 4 7 5 6 6 5 7 4 8 3 9 2 10 1

Answers

Answered by yashsinhtgb
0

Answer:

#Language is python

#this is an array created using list

Num = [1,10,2,9,3,8,4,7,5,6,6,5,7,4,8,3,9,2,10,1]

#Now we will run for loop so,

for x in Num:

print(x)

Output:

1

10

2

9

3

8

4

7

5

6

6

5

7

4

8

3

9

2

10

1

Similar questions