In this we are going to see a basic program on break statement in while loop using Python Programming Language.
def break_statement():
i = 0
while i < 10:
i += 1
if i == 5:
break
print(i)
break_statement()
# Coded By Dhiraj Shelke
#ENJOY CODING
Post a Comment
FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP