Untitled
unknown
python
2 years ago
230 B
10
Indexable
# Replace ___ with your code
# get integer input from the user
n = int(input())
# loop from 1 to n (n should be inclusive)
for number in 1,n:
# if number is an odd number, print it
if number%2!=0:
print(number)Editor is loading...
Leave a Comment