Basic Python Program-4

Create a sequence of numbers using range datatype to display 1 to 30 , with an increment of 2


r=range(30)
print("Original")

for i in r: print(i)
print("Incremented by 2")
r=range(1,30,2)
for i in r: print(i)