1for i in range(1,10,2): #(initial,final but not included,gap)
2 print(i);
3 #output: 1,3,5,7,9
4
5for i in range (1,4): # (initial, final but not included)
6 print(i);
7 #output: 1,2,3 note: 4 not included
8
9for i in range (5):
10 print (i);
11 #output: 0,1,2,3,4 note: 5 not included
12
13python = ["ml","ai","dl"];
14for i in python:
15 print(i);
16 #output: ml,ai,dl
17
18for i in range(1,5): #empty loop...if pass not used then it will return error
19 pass;
20