Write a program to display all odd numbers between 1 to 33
Answers
Answered by
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
India Languages,
3 months ago
Business Studies,
3 months ago
Math,
7 months ago
Music,
7 months ago
Math,
11 months ago