x = range(3, 6) 
for n in x: 
print(n)
#This code will print 3 4 5 
				
			
		
				
					 x = range(1, 10,2)
for n in x: 
print(n)
#This code will print 3 4 5 
				
			
		Loops are iteration constructs in Python. Iteration means repetition of a set of statements depending upon a condition test. Loops has three basic elements within it to repeat the statements –
				
					The syntax of if-elif statement in python is as follows:
If condition1:
#code-block of statements when condition1 is true
elif condion2:
#code-block of statements when condition2 is true
elif condition3:
#code-block of statements when condition3 is true 
				
			
		
				
					The syntax of if-elif statement in python is as follows:
If condition1:
#code-block of statements when condition1 is true
elif condion2:
#code-block of statements when condition2 is true
elif condition3:
#code-block of statements when condition3 is true 
				
			
		
				
					The syntax of if-elif statement in python is as follows:
If condition1:
#code-block of statements when condition1 is true
elif condion2:
#code-block of statements when condition2 is true
elif condition3:
#code-block of statements when condition3 is true