Computer Science, asked by kr0805369, 1 month ago

please tell me the algorithm​

Attachments:

Answers

Answered by Nebinson
0

Explanation:

print(list(range(100,10,-2)))

Attachments:
Answered by singhkadyan4418
1

Logic: Take first even integer as 2 and then keep adding 2 untill you reach upper boundary. eg: 2, 2+2,4+2,6+2,8+2,10+2,12+2….

/ Initialize n with 2 /

n=2

while n<100

n=n+2

print(n)

Similar questions