☞ They are also referred to as "control flow statements".
☞ They allow you to alter the flow of control in your program, determining which statements are executed and when.
☞ These are of three types :
1. break Statement 2. continue Statement 3. pass Statement
☞break Statement :
for i in range(1,10):
if i==5:
break
print(i)
1 2 3 4
☞continue Statement :
for i in range(1,10):
if i==5:
continue
print(i)
1 2 3 4 6 7 8 9
☞pass Statement :
x = int(input("Enter a number : "))
if x <= 0:
pass
else:
print("Positive number")
Enter a number : -5
#No output for negative and 0