write a program to print all the odd numbers 1 to 100 in python and show the output
Answers
Answered by
1
Program:
for num in range(1,101,2):
print(num)
Output:
1
3
5
7
9
.
.
.
99
The output will show all the numbers, i have given ... to save time
Hope it helps!
Similar questions