Computer Science, asked by unnati079, 7 months ago

Write a program to display all odd numbers between 1 to 33​

Answers

Answered by gaganadithyareddy9
1

Answer:

Hey! This works in python...

for i in range(1, 34):

   if i%2 == 1:

       print(i, end=', ')

# Output will be

1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33,

# HOPE THIS HELPS YOU!!

Similar questions