Untitled
Anonymous
python
12/19/2023 6:21 PM
308 B
27
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