Demo entry 6349635

Q31

   

Submitted by Bill on Feb 24, 2017 at 11:01
Language: Python 3. Code size: 216 Bytes.

#Q31 GBS
print ("Odd Numbers")

start = int(input("Please enter a starting number > "))
finish = int(input("Please enter a finishing number > "))

for i in range(start,finish+1):
    if i % 2 != 0:
        print (i)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).