48.4k views
5 votes
Write an algorithm to print the odd number from 100 to 1​

User Desiigner
by
6.9k points

1 Answer

11 votes

Answer:

In python:

for x in range(0,100):

if x % 2 == 1:

print(x)

User Karnage
by
7.1k points