Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

olst = [] a = int(input()) b = int(input()) for ele in range(a,b+1): if ele%2 != 0: olst.append(ele) print(olst[::-1])

olst = []
a = int(input())
b = int(input())
for ele in range(a,b+1):
        if ele%2 != 0:
                olst.append(ele)
                
print(olst[::-1])
 
PREVIOUS NEXT
Tagged: #olst #ele
ADD COMMENT
Topic
Name
5+2 =