Iteration-Keyword
Wed 12 November 2025
# created : 20250111
# https://www.scientecheasy.com/2022/09/reserved-keywords-in-python.html/
# python iteration keyword
for count in range(1, 4):
print("Scientech Easy, Dhanbad")
Scientech Easy, Dhanbad
Scientech Easy, Dhanbad
Scientech Easy, Dhanbad
count = 0
while(count < 3):
print("The current count is: ", count)
count = count + 1
print("While loop ended!")
The current count is: 0
The current count is: 1
The current count is: 2
While loop ended!
for i in range(1, 5):
if i == 3:
break
print(i)
1
2
for i in range(1, 6):
if i == 4:
continue
print(i)
1
2
3
5
i = 10
if i == 5:
print ("Hello")
elif i == 10:
print ("Python keywords")
else:
print ("Hello Python")
Python keywords
Score: 5
Category: python-basics